pythonPackages.zict: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 13:33:13 +02:00 committed by Frederik Rietdijk
parent 37b4051b05
commit 3e023aa507
2 changed files with 23 additions and 20 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, heapdict }:
buildPythonPackage rec {
pname = "zict";
version = "0.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "12h95vbkbar1hc6cr1kpr6zr486grj3mpx4lznvmnai0iy6pbqp4";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ heapdict ];
meta = with stdenv.lib; {
description = "Mutable mapping tools.";
homepage = https://github.com/dask/zict;
license = licenses.bsd3;
maintainers = with maintainers; [ teh ];
};
}

View File

@ -2007,26 +2007,7 @@ in {
heapdict = callPackage ../development/python-modules/heapdict { };
zict = buildPythonPackage rec {
name = "zict-${version}";
version = "0.1.1";
src = pkgs.fetchurl {
url = "mirror://pypi/z/zict/${name}.tar.gz";
sha256 = "12h95vbkbar1hc6cr1kpr6zr486grj3mpx4lznvmnai0iy6pbqp4";
};
buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ heapdict ];
meta = {
description = "Mutable mapping tools.";
homepage = https://github.com/dask/zict;
license = licenses.bsd3;
maintainers = with maintainers; [ teh ];
};
};
zict = callPackage ../development/python-modules/zict { };
distributed = buildPythonPackage rec {