Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / xattr / default.nix
bloba39c3532f4b8e4f77fe7c2f10195969261aabd10
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , python
5 , cffi
6 }:
8 buildPythonPackage rec {
9   pname = "xattr";
10   version = "0.9.7";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "b0bbca828e04ef2d484a6522ae7b3a7ccad5e43fa1c6f54d78e24bb870f49d44";
15   };
17   propagatedBuildInputs = [ cffi ];
19   # https://github.com/xattr/xattr/issues/43
20   doCheck = false;
22   postBuild = ''
23     ${python.interpreter} -m compileall -f xattr
24   '';
26   meta = with lib; {
27     homepage = "https://github.com/xattr/xattr";
28     description = "Python wrapper for extended filesystem attributes";
29     license = licenses.mit;
30   };