Merge pull request #169864 from armeenm/bump-pur

pur: 5.4.2 -> 6.1.0
This commit is contained in:
Fabian Affolter 2022-04-25 10:37:27 +02:00 committed by GitHub
commit ccd2089415
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,34 +3,23 @@
, fetchFromGitHub
}:
let
py = python3.override {
packageOverrides = self: super: {
# newest version doesn't support click >8.0 https://github.com/alanhamlett/pip-update-requirements/issues/38
# Use click 7
click = self.callPackage ../../../development/python2-modules/click/default.nix { };
};
};
inherit (py.pkgs) buildPythonApplication click pytestCheckHook;
in
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "pur";
version = "5.4.2";
version = "6.1.0";
src = fetchFromGitHub {
owner = "alanhamlett";
repo = "pip-update-requirements";
rev = version;
sha256 = "sha256-coJO9AYm0Qx0arMf/e+pZFG/VxK6bnxxXRgw7x7V2hY=";
hash = "sha256-EcyDEXDgjicCRThXC+co/PwTjAxkRXVG1++JZtsSjZo=";
};
propagatedBuildInputs = [
click
python3.pkgs.click
];
checkInputs = [
pytestCheckHook
python3.pkgs.pytestCheckHook
];
pythonImportsCheck = [ "pur" ];