frozendict: move to separate module

This commit is contained in:
Florian Jacob 2018-04-21 18:48:10 +02:00
parent ce3961cc70
commit 2749531e0f
2 changed files with 18 additions and 14 deletions

View File

@ -0,0 +1,17 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "frozendict";
version = "1.2";
src = fetchPypi {
inherit pname version;
sha256 = "0ibf1wipidz57giy53dh7mh68f2hz38x8f4wdq88mvxj5pr7jhbp";
};
meta = with stdenv.lib; {
homepage = https://github.com/slezica/python-frozendict;
description = "An immutable dictionary";
license = licenses.mit;
};
}

View File

@ -2557,20 +2557,7 @@ in {
fritzconnection = callPackage ../development/python-modules/fritzconnection { };
frozendict = buildPythonPackage rec {
name = "frozendict-1.2";
src = pkgs.fetchurl {
url = "mirror://pypi/f/frozendict/${name}.tar.gz";
sha256 = "0ibf1wipidz57giy53dh7mh68f2hz38x8f4wdq88mvxj5pr7jhbp";
};
meta = {
homepage = https://github.com/slezica/python-frozendict;
description = "An immutable dictionary";
license = stdenv.lib.licenses.mit;
};
};
frozendict = callPackage ../development/python-modules/frozendict { };
ftputil = callPackage ../development/python-modules/ftputil { };