diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-11 01:36:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 01:36:33 +0100 |
commit | 39229a3398f30245dee9c7ad2f17ca8703dd41c4 (patch) | |
tree | e7afd8a61f38ec1f1987a7acf0a9d661063884de /pkgs/development | |
parent | 08943980b6158af1f41d2b2048277a43357e1f62 (diff) | |
parent | 93f7742d6135ec53fd0197e453ef19fdb10a6184 (diff) |
Merge pull request #108572 from fabaff/bump-sortedcollections
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/sortedcollections/default.nix | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/sortedcollections/default.nix b/pkgs/development/python-modules/sortedcollections/default.nix index 3742c625205c1..b0b3df19bac3c 100644 --- a/pkgs/development/python-modules/sortedcollections/default.nix +++ b/pkgs/development/python-modules/sortedcollections/default.nix @@ -1,27 +1,31 @@ { stdenv , buildPythonPackage -, fetchPypi +, fetchFromGitHub +, pytestCheckHook , sortedcontainers }: buildPythonPackage rec { pname = "sortedcollections"; - version = "1.2.1"; + version = "1.2.3"; - src = fetchPypi { - inherit pname version; - sha256 = "0sihzm5aqz7r3irh4jn6rzicb7lf81d27z7vl6kaslnhwcsizhsq"; + src = fetchFromGitHub { + owner = "grantjenks"; + repo = "python-sortedcollections"; + rev = "v${version}"; + sha256 = "06ifkbhkj5fpsafibw0fs7b778g7q0gd03crvbjk04k0f3wjxc5z"; }; propagatedBuildInputs = [ sortedcontainers ]; - # No tests in PyPi tarball - doCheck = false; + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "sortedcollections" ]; meta = with stdenv.lib; { description = "Python Sorted Collections"; homepage = "http://www.grantjenks.com/docs/sortedcollections/"; - license = licenses.asl20; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; }; - } |