1{
2 lib,
3 pkgs,
4 fetchPypi,
5 buildPythonPackage,
6}:
7
8buildPythonPackage rec {
9 pname = "pyxattr";
10 version = "0.8.1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-SMV47PjqC9Q1GxdSRw4wGpCjdhx8IfAPlT3PbW+m7lo=";
16 };
17
18 # IOError: [Errno 95] Operation not supported (expected)
19 doCheck = false;
20
21 buildInputs = with pkgs; [ attr ];
22
23 meta = with lib; {
24 description = "Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems";
25 license = licenses.lgpl21Plus;
26 inherit (pkgs.attr.meta) platforms;
27 };
28}