From 9a67fc3c493b17bf07013244fed474d7aa7ab8bc Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 13 Jan 2023 20:13:49 +0000 Subject: [PATCH] python3Packages.graphite-web: switch to github source this includes the tests which will be useful when we enable them and also makes patches apply better (cherry picked from commit 3b2399bf26acc7ba9dd209286fb6824070371a8d) --- .../python-modules/graphite-web/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/graphite-web/default.nix b/pkgs/development/python-modules/graphite-web/default.nix index 91def6f2886b..f5a59c6a4cd9 100644 --- a/pkgs/development/python-modules/graphite-web/default.nix +++ b/pkgs/development/python-modules/graphite-web/default.nix @@ -4,7 +4,7 @@ , cairocffi , django , django_tagging -, fetchPypi +, fetchFromGitHub , gunicorn , pyparsing , python-memcached @@ -24,9 +24,11 @@ buildPythonPackage rec { disabled = pythonOlder "3.7"; - src = fetchPypi { - inherit pname version; - hash = "sha256-Pxho1QWo2jJZYAMJx999bbELDVMr7Wp7wsssYPkc01o="; + src = fetchFromGitHub { + owner = "graphite-project"; + repo = pname; + rev = version; + hash = "sha256-2HgCBKwLfxJLKMopoIdsEW5k/j3kNAiifWDnJ98a7Qo="; }; propagatedBuildInputs = [