depot/third_party/nixpkgs/pkgs/development/python-modules/bidict/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

46 lines
856 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, sphinx
, hypothesis
, py
, pytestCheckHook
, pytest-benchmark
, sortedcollections
, sortedcontainers
, pythonOlder
}:
buildPythonPackage rec {
pname = "bidict";
version = "0.21.4";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-QshP++b43omK9gc7S+nqfM7c1400dKqETFTknVoHn28=";
};
propagatedBuildInputs = [
sphinx
];
checkInputs = [
hypothesis
py
pytestCheckHook
pytest-benchmark
sortedcollections
sortedcontainers
];
pythonImportsCheck = [ "bidict" ];
meta = with lib; {
homepage = "https://github.com/jab/bidict";
description = "Efficient, Pythonic bidirectional map data structures and related functionality";
license = licenses.mpl20;
maintainers = with maintainers; [ jakewaksbaum ];
};
}