blob: bf7af7a8c3fab297b569505eb938eafed0e92f02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest-cov-stub,
pytestCheckHook,
sortedcontainers,
}:
buildPythonPackage rec {
pname = "sortedcollections";
version = "2.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "grantjenks";
repo = "python-sortedcollections";
rev = "v${version}";
hash = "sha256-GkZO8afUAgDpDjIa3dhO6nxykqrljeKldunKMODSXfg=";
};
propagatedBuildInputs = [ sortedcontainers ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "sortedcollections" ];
meta = {
description = "Python Sorted Collections";
homepage = "http://www.grantjenks.com/docs/sortedcollections/";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|