diff options
author | Robert Scott <code@humanleg.org.uk> | 2020-07-28 19:48:19 +0100 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-07-28 12:15:34 -0700 |
commit | 91c4357388ed093bc4f07c6dabadf34c77710f8e (patch) | |
tree | 43ec0b0bd79928c103846ea6acc866277969edc3 /pkgs/development/python-modules/django_silk | |
parent | 703b8ef3f3970aaccc68b9cb0038e24600534d10 (diff) | |
download | nixpkgs-91c4357388ed093bc4f07c6dabadf34c77710f8e.tar nixpkgs-91c4357388ed093bc4f07c6dabadf34c77710f8e.tar.gz nixpkgs-91c4357388ed093bc4f07c6dabadf34c77710f8e.tar.bz2 nixpkgs-91c4357388ed093bc4f07c6dabadf34c77710f8e.tar.lz nixpkgs-91c4357388ed093bc4f07c6dabadf34c77710f8e.tar.xz nixpkgs-91c4357388ed093bc4f07c6dabadf34c77710f8e.tar.zst nixpkgs-91c4357388ed093bc4f07c6dabadf34c77710f8e.zip |
pythonPackages.django_silk: 3.0.4 -> 4.0.1
update meta.homepage too
Diffstat (limited to 'pkgs/development/python-modules/django_silk')
-rw-r--r-- | pkgs/development/python-modules/django_silk/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/django_silk/default.nix b/pkgs/development/python-modules/django_silk/default.nix index 95a991f3417..8efd62d7d18 100644 --- a/pkgs/development/python-modules/django_silk/default.nix +++ b/pkgs/development/python-modules/django_silk/default.nix @@ -23,14 +23,14 @@ buildPythonPackage rec { pname = "django-silk"; - version = "3.0.4"; + version = "4.0.1"; # pypi tarball doesn't include test project src = fetchFromGitHub { owner = "jazzband"; repo = "django-silk"; rev = version; - sha256 = "10542yvbchcy8hik2hw3jclb4ic89mxkw0sykag4bw9sv43xv7vx"; + sha256 = "0yy9rzxvwlp2xvnw76r9hnqajlp417snam92xpb6ay0hxwslwqyb"; }; # "test_time_taken" tests aren't suitable for reproducible execution, but django's # test runner doesn't have an easy way to ignore tests - so instead prevent it from picking @@ -38,6 +38,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace project/tests/test_silky_profiler.py \ --replace "def test_time_taken" "def _test_time_taken" + substituteInPlace setup.py \ + --replace 'use_scm_version=True' 'version="${version}"' ''; buildInputs = [ mock ]; @@ -54,7 +56,7 @@ buildPythonPackage rec { meta = with stdenv.lib; { description = "Silky smooth profiling for the Django Framework"; - homepage = "https://github.com/mtford90/silk"; + homepage = "https://github.com/jazzband/django-silk"; license = licenses.mit; maintainers = with maintainers; [ ris ]; }; |