33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
46 lines
862 B
Nix
46 lines
862 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
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|