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