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