pythonPackages.ftputil: move expression
This commit is contained in:
parent
a412ecc439
commit
92896e2739
19
pkgs/development/python-modules/ftputil/default.nix
Normal file
19
pkgs/development/python-modules/ftputil/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.3";
|
||||
pname = "ftputil";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1714w0v6icw2xjx5m54yv2qgkq49qwxwllq4gdb7wkz25iiapr8b";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = with lib; {
|
||||
description = "High-level FTP client library (virtual file system and more)";
|
||||
homepage = https://pypi.python.org/pypi/ftputil;
|
||||
license = licenses.bsd2; # "Modified BSD license, says pypi"
|
||||
};
|
||||
}
|
@ -4512,24 +4512,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
ftputil = buildPythonPackage rec {
|
||||
version = "3.3";
|
||||
name = "ftputil-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/f/ftputil/${name}.tar.gz";
|
||||
sha256 = "1714w0v6icw2xjx5m54yv2qgkq49qwxwllq4gdb7wkz25iiapr8b";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = {
|
||||
description = "High-level FTP client library (virtual file system and more)";
|
||||
homepage = https://pypi.python.org/pypi/ftputil;
|
||||
platforms = platforms.linux;
|
||||
license = licenses.bsd2; # "Modified BSD license, says pypi"
|
||||
};
|
||||
};
|
||||
ftputil = callPackage ../development/python-modules/ftputil { };
|
||||
|
||||
fudge = buildPythonPackage rec {
|
||||
name = "fudge-1.1.0";
|
||||
|
Loading…
Reference in New Issue
Block a user