Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 856 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, setuptools_scm 3, sphinx 4, hypothesis 5, py 6, pytest 7, pytest-benchmark 8, sortedcollections 9, sortedcontainers 10}: 11 12buildPythonPackage rec { 13 pname = "bidict"; 14 version = "0.18.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "4d10630fd5d86b7c165387473c5180e7fca7635f12e24b1f426aac259c72c81a"; 19 }; 20 21 nativeBuildInputs = [ setuptools_scm ]; 22 propagatedBuildInputs = [ sphinx ]; 23 24 checkInputs = [ 25 hypothesis 26 py 27 pytest 28 pytest-benchmark 29 sortedcollections 30 sortedcontainers 31 ]; 32 checkPhase = '' 33 pytest tests 34 ''; 35 36 meta = with lib; { 37 homepage = https://github.com/jab/bidict; 38 description = "Efficient, Pythonic bidirectional map data structures and related functionality"; 39 license = licenses.mpl20; 40 maintainers = with maintainers; [ jakewaksbaum ]; 41 }; 42}