2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, pkgs
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyxattr";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.8.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-SMV47PjqC9Q1GxdSRw4wGpCjdhx8IfAPlT3PbW+m7lo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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;
|
2023-07-15 17:15:38 +00:00
|
|
|
inherit (pkgs.attr.meta) platforms;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|