betaboon 2023-04-09 13:34:08 +02:00
parent bf893d1b9e
commit 8d91dcbfe0

View file

@ -7,22 +7,13 @@ let
# 3. Ansible being unable to upgrade to a later version of resolvelib # 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 # see here for more details: https://github.com/NixOS/nixpkgs/pull/155380/files#r786255738
packageOverrides = self: super: { 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 { resolvelib = super.resolvelib.overridePythonAttrs (attrs: rec {
version = "0.9.0"; version = "1.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sarugaku"; owner = "sarugaku";
repo = "resolvelib"; repo = "resolvelib";
rev = "/refs/tags/${version}"; rev = "/refs/tags/${version}";
hash = "sha256-xzu8sMNMihJ80vezMdGkOT5Etx08qy3T/TkEn5EAY48="; hash = "sha256-oxyPn3aFPOyx/2aP7Eg2ThtPbyzrFT1JzWqy6GqNbzM=";
}; };
}); });
}; };
@ -33,17 +24,17 @@ in
with python.pkgs; with python.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
pname = "pdm"; pname = "pdm";
version = "2.4.6"; version = "2.5.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-g+fQxq2kwhNXXEJG2n5n4f9GMkmmLsjpHoay152fcVQ="; hash = "sha256-MIy7dmfPju+x9gB3Hgke4BAC9UVagwTsBLql21HMvMc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pdm-pep517 pdm-backend
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [