Skip to content

Commit

Permalink
pdm: 2.19.3 -> 2.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Dec 29, 2024
1 parent 4506ece commit be510af
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions pkgs/by-name/pd/pdm/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,45 @@
pdm,
}:

python3.pkgs.buildPythonApplication rec {
let
python = python3.override {
self = python;
packageOverrides = _: super: {
resolvelib = super.resolvelib.overridePythonAttrs (old: rec {
version = "1.1.0";
src = old.src.override {
rev = version;
hash = "sha256-UBdgFN+fvbjz+rp8+rog8FW2jwO/jCfUPV7UehJKiV8=";
};
});
};
};
in
python.pkgs.buildPythonApplication rec {
pname = "pdm";
version = "2.19.3";
version = "2.22.1";
pyproject = true;

disabled = python3.pkgs.pythonOlder "3.8";
disabled = python.pkgs.pythonOlder "3.8";

src = fetchFromGitHub {
owner = "pdm-project";
repo = "pdm";
rev = "refs/tags/${version}";
hash = "sha256-xgwIPHlTtmgCNN4R6/BJsqmI9hbA0wFAiq4YCa+r/UM=";
hash = "sha256-khAS/OpuvZTJGh9/lIGtKONajIonCwc/M9D9lSwzFvw=";
};

pythonRelaxDeps = [ "hishel" ];

nativeBuildInputs = [ installShellFiles ];

build-system = with python3.pkgs; [
build-system = with python.pkgs; [
pdm-backend
pdm-build-locked
];

dependencies =
with python3.pkgs;
with python.pkgs;
[
blinker
dep-logic
Expand Down Expand Up @@ -74,7 +88,7 @@ python3.pkgs.buildPythonApplication rec {
unset PDM_LOG_DIR
'';

nativeCheckInputs = with python3.pkgs; [
nativeCheckInputs = with python.pkgs; [
first
pytestCheckHook
pytest-mock
Expand Down

0 comments on commit be510af

Please sign in to comment.