mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
pythonPackages.zict: Move to own file
This commit is contained in:
parent
37b4051b05
commit
3e023aa507
22
pkgs/development/python-modules/zict/default.nix
Normal file
22
pkgs/development/python-modules/zict/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user