1{ lib 2, buildPythonPackage 3, fetchPypi 4, sphinx 5, hypothesis 6, py 7, pytestCheckHook 8, pytest-benchmark 9, sortedcollections 10, sortedcontainers 11, pythonOlder 12}: 13 14buildPythonPackage rec { 15 pname = "bidict"; 16 version = "0.21.4"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "sha256-QshP++b43omK9gc7S+nqfM7c1400dKqETFTknVoHn28="; 23 }; 24 25 propagatedBuildInputs = [ 26 sphinx 27 ]; 28 29 checkInputs = [ 30 hypothesis 31 py 32 pytestCheckHook 33 pytest-benchmark 34 sortedcollections 35 sortedcontainers 36 ]; 37 38 pythonImportsCheck = [ "bidict" ]; 39 40 meta = with lib; { 41 homepage = "https://github.com/jab/bidict"; 42 description = "Efficient, Pythonic bidirectional map data structures and related functionality"; 43 license = licenses.mpl20; 44 maintainers = with maintainers; [ jakewaksbaum ]; 45 }; 46}