python3Packages.pur: 5.4.1 -> 5.4.2; fix build

This commit is contained in:
legendofmiracles 2021-11-06 18:29:09 -06:00
parent b405a8b2d4
commit c3ddce527d
No known key found for this signature in database
GPG key ID: 19B082B3DEFE5451

View file

@ -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 = [