Loading pkgs/development/python-modules/gradient-utils/default.nix +7 −4 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Paperspace"; repo = pname; rev = "v${version}"; sha256 = "19plkgwwfs6298vjplgsvhirixi3jbngq5y07x9c0fjxk39fa2dk"; rev = "refs/tags/v${version}"; hash = "sha256-swnl0phdOsBSP8AX/OySI/aYI9z60Ss3SsJox/mb9KY="; }; nativeBuildInputs = [ Loading @@ -42,9 +42,12 @@ buildPythonPackage rec { ]; postPatch = '' # https://github.com/Paperspace/gradient-utils/issues/68 # https://github.com/Paperspace/gradient-utils/issues/72 substituteInPlace pyproject.toml \ --replace 'wheel = "^0.35.1"' 'wheel = "*"' \ --replace 'prometheus-client = ">=0.8,<0.10"' 'prometheus-client = "*"' --replace 'prometheus-client = ">=0.8,<0.10"' 'prometheus-client = "*"' \ --replace 'pymongo = "^3.11.0"' 'pymongo = ">=3.11.0"' ''; preCheck = '' Loading @@ -64,7 +67,7 @@ buildPythonPackage rec { description = "Python utils and helpers library for Gradient"; homepage = "https://github.com/Paperspace/gradient-utils"; license = licenses.mit; platforms = platforms.unix; maintainers = with maintainers; [ freezeboy ]; platforms = platforms.unix; }; } Loading
pkgs/development/python-modules/gradient-utils/default.nix +7 −4 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Paperspace"; repo = pname; rev = "v${version}"; sha256 = "19plkgwwfs6298vjplgsvhirixi3jbngq5y07x9c0fjxk39fa2dk"; rev = "refs/tags/v${version}"; hash = "sha256-swnl0phdOsBSP8AX/OySI/aYI9z60Ss3SsJox/mb9KY="; }; nativeBuildInputs = [ Loading @@ -42,9 +42,12 @@ buildPythonPackage rec { ]; postPatch = '' # https://github.com/Paperspace/gradient-utils/issues/68 # https://github.com/Paperspace/gradient-utils/issues/72 substituteInPlace pyproject.toml \ --replace 'wheel = "^0.35.1"' 'wheel = "*"' \ --replace 'prometheus-client = ">=0.8,<0.10"' 'prometheus-client = "*"' --replace 'prometheus-client = ">=0.8,<0.10"' 'prometheus-client = "*"' \ --replace 'pymongo = "^3.11.0"' 'pymongo = ">=3.11.0"' ''; preCheck = '' Loading @@ -64,7 +67,7 @@ buildPythonPackage rec { description = "Python utils and helpers library for Gradient"; homepage = "https://github.com/Paperspace/gradient-utils"; license = licenses.mit; platforms = platforms.unix; maintainers = with maintainers; [ freezeboy ]; platforms = platforms.unix; }; }