From 4df8dcc5813d35315286bbe78826d552506b84a0 Mon Sep 17 00:00:00 2001 From: nicoo Date: Thu, 23 Nov 2023 13:56:45 +0000 Subject: [PATCH] =?UTF-8?q?python3Packages.importlab:=200.7=20=E2=86=92=20?= =?UTF-8?q?0.8.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switched from `fetchFromGitHub` to `fetchPypi`, as upstream does not tag their releases. --- .../python-modules/importlab/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/importlab/default.nix b/pkgs/development/python-modules/importlab/default.nix index 5b572e50f1cb..9937ff89d334 100644 --- a/pkgs/development/python-modules/importlab/default.nix +++ b/pkgs/development/python-modules/importlab/default.nix @@ -1,20 +1,18 @@ { stdenv , lib , buildPythonPackage -, fetchFromGitHub +, fetchPypi , networkx , pytestCheckHook }: -buildPythonPackage { +buildPythonPackage rec { pname = "importlab"; - version = "0.7"; + version = "0.8.1"; - src = fetchFromGitHub { - owner = "google"; - repo = "importlab"; - rev = "676d17cd41ac68de6ebb48fb71780ad6110c4ae3"; - hash = "sha256-O8y1c65NQ+19BnGnUnWrA0jYUqF+726CFAcWzHFOiHE="; + src = fetchPypi { + inherit pname version; + hash = "sha256-s4k4U7H26wJ9pQnDtA5nh+ld1mtLZvGzYTqtd1VuFGU="; }; propagatedBuildInputs = [ networkx ];