python.pkgs.extras: move expression
This commit is contained in:
parent
d4642a05cb
commit
ec04801de9
23
pkgs/development/python-modules/extras/default.nix
Normal file
23
pkgs/development/python-modules/extras/default.nix
Normal file
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user