nixpkgs/pkgs/development/python-modules/pyxattr/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

28 lines
664 B
Nix

{ 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;
};
}