92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
32 lines
599 B
Nix
32 lines
599 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
, cffi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "xattr";
|
|
version = "0.10.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ciZS0qUyTheJHEFtTHbZHM+YgwqPUWoN6FM86GfzrK8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cffi ];
|
|
|
|
# https://github.com/xattr/xattr/issues/43
|
|
doCheck = false;
|
|
|
|
postBuild = ''
|
|
${python.interpreter} -m compileall -f xattr
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/xattr/xattr";
|
|
description = "Python wrapper for extended filesystem attributes";
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|