2021-09-05 21:50:05 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-01-10 17:08:31 +00:00
|
|
|
, sphinx
|
|
|
|
, hypothesis
|
|
|
|
, py
|
2021-01-20 10:54:42 +00:00
|
|
|
, pytestCheckHook
|
2019-01-10 17:08:31 +00:00
|
|
|
, pytest-benchmark
|
|
|
|
, sortedcollections
|
|
|
|
, sortedcontainers
|
2021-09-05 21:50:05 +01:00
|
|
|
, pythonOlder
|
2019-01-10 17:08:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bidict";
|
2021-09-05 21:50:05 +01:00
|
|
|
version = "0.21.3";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2019-01-10 17:08:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-05 21:50:05 +01:00
|
|
|
sha256 = "sha256-1QvYH65140GY/8lJeaDrCTn/mts+8yvMk6kT2LPj7R0=";
|
2019-01-10 17:08:31 +00:00
|
|
|
};
|
|
|
|
|
2021-09-05 21:50:05 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
sphinx
|
|
|
|
];
|
2019-01-10 17:08:31 +00:00
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
hypothesis
|
|
|
|
py
|
2021-01-20 10:54:42 +00:00
|
|
|
pytestCheckHook
|
2019-01-10 17:08:31 +00:00
|
|
|
pytest-benchmark
|
|
|
|
sortedcollections
|
|
|
|
sortedcontainers
|
|
|
|
];
|
|
|
|
|
2021-09-05 21:50:05 +01:00
|
|
|
pythonImportsCheck = [ "bidict" ];
|
|
|
|
|
2019-01-10 17:08:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jab/bidict";
|
2019-01-10 17:08:31 +00:00
|
|
|
description = "Efficient, Pythonic bidirectional map data structures and related functionality";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
|
|
};
|
|
|
|
}
|