pythonPackages.fuse: 0.2.1 -> 0.3.1 | refactor | python3 support

This commit is contained in:
Assassinkin 2018-09-14 18:47:18 +01:00 committed by Frederik Rietdijk
parent 31554915a4
commit de9fb389f4
3 changed files with 27 additions and 29 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi, pkgconfig, fuse }:
buildPythonPackage rec {
pname = "fuse-python";
version = "0.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "0p1f01gah1y8skirrwsbxapz3g6drqihnkjh27b45ifg43h45g7x";
};
buildInputs = [ fuse ];
nativeBuildInputs = [ pkgconfig ];
# no tests in the Pypi archive
doCheck = false;
meta = with stdenv.lib; {
description = "Python bindings for FUSE";
homepage = https://github.com/libfuse/python-fuse;
license = licenses.lgpl21;
maintainers = with maintainers; [ psyanticy ];
};
}

View File

@ -1,27 +0,0 @@
{ lib
, pkgconfig
, fetchurl
, fuse
, buildPythonPackage
, isPy3k
}:
buildPythonPackage rec {
pname = "fuse";
version = "0.2.1";
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

@ -302,6 +302,8 @@ in {
fire = callPackage ../development/python-modules/fire { };
fuse = callPackage ../development/python-modules/fuse-python { fuse = pkgs.fuse; };
genanki = callPackage ../development/python-modules/genanki { };
globus-sdk = callPackage ../development/python-modules/globus-sdk { };
@ -5609,8 +5611,6 @@ in {
};
};
fuse = callPackage ../development/python-modules/python-fuse { fuse = pkgs.fuse; };
fusepy = buildPythonPackage rec {
name = "fusepy-2.0.4";