2019-01-10 18:08:31 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, sphinx
|
|
|
|
, hypothesis
|
|
|
|
, py
|
2021-01-20 11:54:42 +01:00
|
|
|
, pytestCheckHook
|
2019-01-10 18:08:31 +01:00
|
|
|
, pytest-benchmark
|
|
|
|
, sortedcollections
|
|
|
|
, sortedcontainers
|
2019-10-07 17:20:23 +02:00
|
|
|
, isPy3k
|
2019-01-10 18:08:31 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bidict";
|
2020-09-29 11:25:18 +02:00
|
|
|
version = "0.21.2";
|
2019-10-07 17:20:23 +02:00
|
|
|
disabled = !isPy3k;
|
2019-01-10 18:08:31 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-29 11:25:18 +02:00
|
|
|
sha256 = "4fa46f7ff96dc244abfc437383d987404ae861df797e2fd5b190e233c302be09";
|
2019-01-10 18:08:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ sphinx ];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
hypothesis
|
|
|
|
py
|
2021-01-20 11:54:42 +01:00
|
|
|
pytestCheckHook
|
2019-01-10 18:08:31 +01:00
|
|
|
pytest-benchmark
|
|
|
|
sortedcollections
|
|
|
|
sortedcontainers
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/jab/bidict";
|
2019-01-10 18:08:31 +01:00
|
|
|
description = "Efficient, Pythonic bidirectional map data structures and related functionality";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
|
|
};
|
|
|
|
}
|