pythonPackages.bidict: init at 0.17.5

This commit is contained in:
Jake Waksbaum 2019-01-10 17:08:31 +00:00
parent 2c78b87f5e
commit bffc32260f
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib, buildPythonPackage, fetchPypi
, setuptools_scm
, sphinx
, hypothesis
, py
, pytest
, pytest-benchmark
, sortedcollections
, sortedcontainers
}:
buildPythonPackage rec {
pname = "bidict";
version = "0.17.5";
src = fetchPypi {
inherit pname version;
sha256 = "1icj0fnfx47n6i33pj5gfrmd1rzpvah1jihhdhqiqx2cy9rs6x4c";
};
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 ];
};
}

View File

@ -998,6 +998,8 @@ in {
bibtexparser = callPackage ../development/python-modules/bibtexparser { }; bibtexparser = callPackage ../development/python-modules/bibtexparser { };
bidict = callPackage ../development/python-modules/bidict { };
binwalk = callPackage ../development/python-modules/binwalk { }; binwalk = callPackage ../development/python-modules/binwalk { };
binwalk-full = appendToName "full" (self.binwalk.override { binwalk-full = appendToName "full" (self.binwalk.override {