python3Packages.pur: 5.4.1 -> 5.4.2; fix build

main
legendofmiracles 3 years ago
parent b405a8b2d4
commit c3ddce527d
No known key found for this signature in database
GPG Key ID: 19B082B3DEFE5451
  1. 18
      pkgs/development/python-modules/pur/default.nix

@ -1,19 +1,27 @@
{ lib
, buildPythonPackage
, click
, python3
, fetchFromGitHub
, pytestCheckHook
}:
let
py = python3.override {
packageOverrides = self: super: {
# newest version doesn't support click >8.0 https://github.com/alanhamlett/pip-update-requirements/issues/38
click = self.callPackage ../../../development/python-modules/click/7.nix { };
};
};
in
with py.pkgs;
buildPythonPackage rec {
pname = "pur";
version = "5.4.1";
version = "5.4.2";
src = fetchFromGitHub {
owner = "alanhamlett";
repo = "pip-update-requirements";
rev = version;
sha256 = "sha256-a2wViLJW+UXgHcURxr4irFVkH8STH84AVcwQIkvH+Fg=";
sha256 = "sha256-coJO9AYm0Qx0arMf/e+pZFG/VxK6bnxxXRgw7x7V2hY=";
};
propagatedBuildInputs = [

Loading…
Cancel
Save