Merge pull request #144955 from legendofmiracles/pur

python3Packages.pur: 5.4.1 -> 5.4.2; fix build
This commit is contained in:
Thiago Kenji Okada 2021-11-08 21:00:43 -03:00 committed by GitHub
commit db6044d5de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 8 deletions

View File

@ -1,19 +1,27 @@
{ lib
, buildPythonPackage
, click
, python3
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
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 { };
};
};
inherit (py.pkgs) buildPythonApplication click pytestCheckHook;
in
buildPythonApplication 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 = [

View File

@ -27369,6 +27369,8 @@ with pkgs;
pika-backup = callPackage ../applications/backup/pika-backup { };
pur = callPackage ../development/tools/pur { };
purple-discord = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-discord { };
purple-hangouts = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-hangouts { };

View File

@ -66,6 +66,7 @@ mapAliases ({
privacyidea = throw "privacyidea has been renamed to pkgs.privacyidea"; # added 2021-06-20
prometheus_client = prometheus-client; # added 2021-06-10
prompt_toolkit = prompt-toolkit; # added 2021-07-22
pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
pysmart-smartx = pysmart; # added 2021-10-22

View File

@ -6039,8 +6039,6 @@ in {
pulsectl = callPackage ../development/python-modules/pulsectl { };
pur = callPackage ../development/python-modules/pur { };
pure-cdb = callPackage ../development/python-modules/pure-cdb { };
pure-eval = callPackage ../development/python-modules/pure-eval { };