1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytest-cov-stub, 6 pytestCheckHook, 7 sortedcontainers, 8}: 9 10buildPythonPackage rec { 11 pname = "sortedcollections"; 12 version = "2.1.0"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "grantjenks"; 17 repo = "python-sortedcollections"; 18 rev = "v${version}"; 19 hash = "sha256-GkZO8afUAgDpDjIa3dhO6nxykqrljeKldunKMODSXfg="; 20 }; 21 22 propagatedBuildInputs = [ sortedcontainers ]; 23 24 nativeCheckInputs = [ 25 pytest-cov-stub 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "sortedcollections" ]; 30 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 }; 37}