snac2: 2.68 -> 2.70 (#379043)
[NixPkgs.git] / pkgs / development / python-modules / sortedcollections / default.nix
bloba525167635b699d7d51cb0825c1e84914525bea4
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytest-cov-stub,
6   pytestCheckHook,
7   sortedcontainers,
8 }:
10 buildPythonPackage rec {
11   pname = "sortedcollections";
12   version = "2.1.0";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "grantjenks";
17     repo = "python-sortedcollections";
18     rev = "v${version}";
19     hash = "sha256-GkZO8afUAgDpDjIa3dhO6nxykqrljeKldunKMODSXfg=";
20   };
22   propagatedBuildInputs = [ sortedcontainers ];
24   nativeCheckInputs = [
25     pytest-cov-stub
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [ "sortedcollections" ];
31   meta = with lib; {
32     description = "Python Sorted Collections";
33     homepage = "http://www.grantjenks.com/docs/sortedcollections/";
34     license = with licenses; [ asl20 ];
35     maintainers = with maintainers; [ fab ];
36   };