about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyxattr
diff options
context:
space:
mode:
authoradisbladis <adis@blad.is>2017-10-28 15:29:10 +0800
committeradisbladis <adis@blad.is>2017-10-30 11:55:45 +0800
commit892a0005ff299e2dc561376f74af9e56476b71e5 (patch)
treea1bbf7e407ef99d9af84775136280b7c65ea926e /pkgs/development/python-modules/pyxattr
parente78864e3b7db45d4b803fb816781ec7ce904aedc (diff)
pythonPackages.pyxattr: 0.5.1 -> 0.6.0
Diffstat (limited to 'pkgs/development/python-modules/pyxattr')
-rw-r--r--pkgs/development/python-modules/pyxattr/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyxattr/default.nix b/pkgs/development/python-modules/pyxattr/default.nix
new file mode 100644
index 0000000000000..558dc37a394f0
--- /dev/null
+++ b/pkgs/development/python-modules/pyxattr/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, pkgs
+, fetchPypi
+, buildPythonPackage
+}:
+
+buildPythonPackage rec {
+    pname = "pyxattr";
+    version = "0.6.0";
+    name = pname + "-" + version;
+
+    src = fetchPypi {
+      inherit pname version;
+      sha256 = "1a3fqjlgbzq5hmc3yrnxxxl8nyn3rz2kfn17svbsahaq4gj0xl09";
+    };
+
+    # IOError: [Errno 95] Operation not supported (expected)
+    doCheck = false;
+
+    buildInputs = with pkgs; [ attr ];
+
+    meta = with lib; {
+      description = "A Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems";
+      license = licenses.lgpl21Plus;
+    };
+}