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 3b2399bf26)
This commit is contained in:
Robert Scott
2023-01-13 20:13:49 +00:00
parent 16883ced77
commit 9a67fc3c49

View File

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