Commit 8d91dcbf authored by betaboon's avatar betaboon
Browse files
parent bf893d1b
Loading
Loading
Loading
Loading
+5 −14
Original line number Diff line number Diff line
@@ -7,22 +7,13 @@ let
    # 3. Ansible being unable to upgrade to a later version of resolvelib
    # see here for more details: https://github.com/NixOS/nixpkgs/pull/155380/files#r786255738
    packageOverrides = self: super: {
      installer = super.installer.overridePythonAttrs (attrs: rec {
        version = "0.6.0";
        src = fetchFromGitHub {
          owner = "pradyunsg";
          repo = "installer";
          rev = version;
          hash = "sha256-IXznSrc/4LopgZDGFSC6cAOCbts+siKpdl5SvN1FFvA=";
        };
      });
      resolvelib = super.resolvelib.overridePythonAttrs (attrs: rec {
        version = "0.9.0";
        version = "1.0.1";
        src = fetchFromGitHub {
          owner = "sarugaku";
          repo = "resolvelib";
          rev = "/refs/tags/${version}";
          hash = "sha256-xzu8sMNMihJ80vezMdGkOT5Etx08qy3T/TkEn5EAY48=";
          hash = "sha256-oxyPn3aFPOyx/2aP7Eg2ThtPbyzrFT1JzWqy6GqNbzM=";
        };
      });
    };
@@ -33,17 +24,17 @@ in
with python.pkgs;
buildPythonApplication rec {
  pname = "pdm";
  version = "2.4.6";
  version = "2.5.2";
  format = "pyproject";
  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-g+fQxq2kwhNXXEJG2n5n4f9GMkmmLsjpHoay152fcVQ=";
    hash = "sha256-MIy7dmfPju+x9gB3Hgke4BAC9UVagwTsBLql21HMvMc=";
  };

  nativeBuildInputs = [
    pdm-pep517
    pdm-backend
  ];

  propagatedBuildInputs = [