python313Packages.traits: fix build
This commit is contained in:
@@ -3,12 +3,14 @@
|
|||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
|
fetchpatch2,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "traits";
|
pname = "traits";
|
||||||
version = "6.4.3";
|
version = "6.4.3";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
@@ -17,15 +19,22 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-qbv9ngwIt94H6G72TmnLlqKcIQWkO/gyzYsWL6HiL0Q=";
|
hash = "sha256-qbv9ngwIt94H6G72TmnLlqKcIQWkO/gyzYsWL6HiL0Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Circular dependency
|
patches = [
|
||||||
doCheck = false;
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/enthought/traits/commit/a20f2154b2c79eb8550ea9228d1a4415ff51b72a.patch";
|
||||||
|
hash = "sha256-ycStcpxlvmobL3ZXaSbGrXAzk/Tkjs3BJ67lnwZpeVA=";
|
||||||
|
excludes = [ ".github/*" ];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "traits" ];
|
pythonImportsCheck = [ "traits" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Explicitly typed attributes for Python";
|
description = "Explicitly typed attributes for Python";
|
||||||
homepage = "https://pypi.python.org/pypi/traits";
|
homepage = "https://pypi.python.org/pypi/traits";
|
||||||
license = licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = [ ];
|
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user