nixpkgs/pkgs/development/python-modules/bidict/default.nix

47 lines
856 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2019-01-10 17:08:31 +00:00
, sphinx
, hypothesis
, py
, pytestCheckHook
2019-01-10 17:08:31 +00:00
, pytest-benchmark
, sortedcollections
, sortedcontainers
, pythonOlder
2019-01-10 17:08:31 +00:00
}:
buildPythonPackage rec {
pname = "bidict";
version = "0.21.3";
disabled = pythonOlder "3.7";
2019-01-10 17:08:31 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1QvYH65140GY/8lJeaDrCTn/mts+8yvMk6kT2LPj7R0=";
2019-01-10 17:08:31 +00:00
};
propagatedBuildInputs = [
sphinx
];
2019-01-10 17:08:31 +00:00
checkInputs = [
hypothesis
py
pytestCheckHook
2019-01-10 17:08:31 +00:00
pytest-benchmark
sortedcollections
sortedcontainers
];
pythonImportsCheck = [ "bidict" ];
2019-01-10 17:08:31 +00:00
meta = with lib; {
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 ];
};
}