about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyxattr/default.nix
blob: 5c2489000feaeb6da1d2eb3f79287050ebf55b86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  lib,
  pkgs,
  fetchPypi,
  buildPythonPackage,
}:

buildPythonPackage rec {
  pname = "pyxattr";
  version = "0.8.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-SMV47PjqC9Q1GxdSRw4wGpCjdhx8IfAPlT3PbW+m7lo=";
  };

  # 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;
    inherit (pkgs.attr.meta) platforms;
  };
}