Skip to content

Commit

Permalink
pythonPackages.ftputil: move expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Mar 2, 2018
1 parent a412ecc commit 92896e2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
19 changes: 19 additions & 0 deletions pkgs/development/python-modules/ftputil/default.nix
Original file line number Diff line number Diff line change
@@ -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"
};
}
19 changes: 1 addition & 18 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 92896e2

Please sign in to comment.