From 0972fd249445dfc7a8bd26726ee0885a144c01c5 Mon Sep 17 00:00:00 2001 From: Armeen Mahdian Date: Fri, 22 Apr 2022 17:17:38 -0500 Subject: [PATCH] pur: 5.4.2 -> 6.1.0 --- pkgs/development/tools/pur/default.nix | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/pkgs/development/tools/pur/default.nix b/pkgs/development/tools/pur/default.nix index 359f3519acd..fc6a46cbc0a 100644 --- a/pkgs/development/tools/pur/default.nix +++ b/pkgs/development/tools/pur/default.nix @@ -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" ];