pythonPackages.fuse: Move to python-modules

This commit is contained in:
adisbladis 2017-10-28 15:43:04 +08:00
parent 892a0005ff
commit 286ca78bf7
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5
2 changed files with 28 additions and 19 deletions

View File

@ -0,0 +1,27 @@
{ lib
, pkgconfig
, fetchurl
, fuse
, buildPythonPackage
, isPy3k
}:
buildPythonPackage rec {
baseName = "fuse";
version = "0.2.1";
name = "${baseName}-${version}";
disabled = isPy3k;
src = fetchurl {
url = "mirror://sourceforge/fuse/fuse-python-${version}.tar.gz";
sha256 = "06rmp1ap6flh64m81j0n3a357ij2vj9zwcvvw0p31y6hz1id9shi";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ fuse ];
meta = {
description = "Python bindings for FUSE";
license = lib.licenses.lgpl21;
};
}

View File

@ -9253,25 +9253,7 @@ in {
};
};
fuse = buildPythonPackage (rec {
baseName = "fuse";
version = "0.2.1";
name = "${baseName}-${version}";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://sourceforge/fuse/fuse-python-${version}.tar.gz";
sha256 = "06rmp1ap6flh64m81j0n3a357ij2vj9zwcvvw0p31y6hz1id9shi";
};
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = with self; [ pkgs.fuse ];
meta = {
description = "Python bindings for FUSE";
license = licenses.lgpl21;
};
});
fuse = callPackage ../development/python-modules/python-fuse { };
fusepy = buildPythonPackage rec {
name = "fusepy-2.0.4";