pythonPackages.ftputil: move expression

This commit is contained in:
Robert Schütz 2018-03-02 03:27:11 +01:00
parent a412ecc439
commit 92896e2739
2 changed files with 20 additions and 18 deletions

View 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"
};
}

View File

@ -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";