python.pkgs.extras: move expression

This commit is contained in:
Frederik Rietdijk 2017-12-30 13:48:07 +01:00
parent d4642a05cb
commit ec04801de9
2 changed files with 24 additions and 18 deletions

@ -0,0 +1,23 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "extras";
version = "0.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1h7zx4dfyclalg0fqnfjijpn0f793a9mx8sy3b27gd31nr6dhq3s";
};
# error: invalid command 'test'
doCheck = false;
meta = {
description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges";
homepage = https://code.google.com/p/mimeparse/;
license = lib.licenses.mit;
};
}

@ -18316,24 +18316,7 @@ in {
};
extras = buildPythonPackage rec {
name = "extras-${version}";
version = "0.0.3";
src = pkgs.fetchurl {
url = "mirror://pypi/e/extras/extras-${version}.tar.gz";
sha256 = "1h7zx4dfyclalg0fqnfjijpn0f793a9mx8sy3b27gd31nr6dhq3s";
};
# error: invalid command 'test'
doCheck = false;
meta = {
description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges";
homepage = https://code.google.com/p/mimeparse/;
license = licenses.mit;
};
};
extras = callPackage ../development/python-modules/extras { };
texttable = callPackage ../development/python-modules/texttable { };