depot/third_party/nixpkgs/pkgs/development/python-modules/bidict/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +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.22.0";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-XIJrPhXpfMbmFd4pV1aEfCgqebecVDDTv8kJsayfW9g=";
};
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 ];
};
}