summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-fuse
diff options
context:
space:
mode:
authoradisbladis <adis@blad.is>2017-10-28 15:43:04 +0800
committeradisbladis <adis@blad.is>2017-10-30 11:55:46 +0800
commit286ca78bf77dec222137d83f900a67759b04d1f2 (patch)
tree2342048ca5577e5247c41f98b75ea497095cb0a8 /pkgs/development/python-modules/python-fuse
parent892a0005ff299e2dc561376f74af9e56476b71e5 (diff)
downloadnixlib-286ca78bf77dec222137d83f900a67759b04d1f2.tar
nixlib-286ca78bf77dec222137d83f900a67759b04d1f2.tar.gz
nixlib-286ca78bf77dec222137d83f900a67759b04d1f2.tar.bz2
nixlib-286ca78bf77dec222137d83f900a67759b04d1f2.tar.lz
nixlib-286ca78bf77dec222137d83f900a67759b04d1f2.tar.xz
nixlib-286ca78bf77dec222137d83f900a67759b04d1f2.tar.zst
nixlib-286ca78bf77dec222137d83f900a67759b04d1f2.zip
pythonPackages.fuse: Move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/python-fuse')
-rw-r--r--pkgs/development/python-modules/python-fuse/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-fuse/default.nix b/pkgs/development/python-modules/python-fuse/default.nix
new file mode 100644
index 000000000000..d9debce6aecb
--- /dev/null
+++ b/pkgs/development/python-modules/python-fuse/default.nix
@@ -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;
+    };
+}