pythonPackages.datrie: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 13:23:05 +02:00 committed by Frederik Rietdijk
parent 6794cb750c
commit f73b73d6d6
2 changed files with 22 additions and 17 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytestrunner, hypothesis}:
buildPythonPackage rec {
pname = "datrie";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs";
};
buildInputs = [ pytest pytestrunner hypothesis ];
meta = with stdenv.lib; {
description = "Super-fast, efficiently stored Trie for Python";
homepage = "https://github.com/kmike/datrie";
license = licenses.lgpl2;
maintainers = with maintainers; [ lewo ];
};
}

View File

@ -2003,23 +2003,7 @@ in {
dask = callPackage ../development/python-modules/dask { };
datrie = buildPythonPackage rec {
name = "datrie";
version = "0.7.1";
src = pkgs.fetchurl {
url = "mirror://pypi/d/datrie/datrie-${version}.tar.gz";
sha256 = "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs";
};
buildInputs = with self; [ pytest pytestrunner hypothesis ];
meta = {
description = "Super-fast, efficiently stored Trie for Python";
homepage = "https://github.com/kmike/datrie";
license = licenses.lgpl2;
maintainers = with maintainers; [ lewo ];
};
};
datrie = callPackage ../development/python-modules/datrie { };
heapdict = buildPythonPackage rec {
name = "HeapDict-${version}";