mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
python310Packages.xattr: add changelog to meta
- add pythonImportsCheck - disable on older Python releases
This commit is contained in:
parent
5d572714dc
commit
20688c1e17
@ -3,18 +3,24 @@
|
||||
, fetchPypi
|
||||
, python
|
||||
, cffi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xattr";
|
||||
version = "0.10.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-wS59gf+qBgWzrIwiwplKjhipzxxZKHobdyKiKJyVLsU=";
|
||||
hash = "sha256-wS59gf+qBgWzrIwiwplKjhipzxxZKHobdyKiKJyVLsU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
propagatedBuildInputs = [
|
||||
cffi
|
||||
];
|
||||
|
||||
# https://github.com/xattr/xattr/issues/43
|
||||
doCheck = false;
|
||||
@ -23,10 +29,14 @@ buildPythonPackage rec {
|
||||
${python.interpreter} -m compileall -f xattr
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"xattr"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/xattr/xattr";
|
||||
description = "Python wrapper for extended filesystem attributes";
|
||||
homepage = "https://github.com/xattr/xattr";
|
||||
changelog = "https://github.com/xattr/xattr/blob/v${version}/CHANGES.txt";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user