nixpkgs-suyu/pkgs/development/python-modules/bidict/default.nix
R. RyanTM 7f470e14d4 python37Packages.bidict: 0.18.0 -> 0.18.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-bidict/versions
2019-09-29 11:37:55 +02:00

42 lines
844 B
Nix

{ lib, buildPythonPackage, fetchPypi
, setuptools_scm
, sphinx
, hypothesis
, py
, pytest
, pytest-benchmark
, sortedcollections
, sortedcontainers
}:
buildPythonPackage rec {
pname = "bidict";
version = "0.18.2";
src = fetchPypi {
inherit pname version;
sha256 = "0br3ljvd56nqifr1mbwksvl5jjk40pihrrjlyn7hmc40yq6m5bvh";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ sphinx ];
checkInputs = [
hypothesis
py
pytest
pytest-benchmark
sortedcollections
sortedcontainers
];
checkPhase = ''
pytest tests
'';
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 ];
};
}