fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
50 lines
1 KiB
Nix
50 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
setuptools-scm,
|
|
jaraco-classes,
|
|
jaraco-text,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco-collections";
|
|
version = "5.0.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "jaraco.collections";
|
|
inherit version;
|
|
hash = "sha256-gIYxsXS4Sk4qWSSQ1i9i38FdgEeg9xVyYJjcQ7gabPo=";
|
|
};
|
|
|
|
postPatch = ''
|
|
# break dependency cycle
|
|
sed -i "/'jaraco.text',/d" setup.cfg
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
jaraco-classes
|
|
jaraco-text
|
|
];
|
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "jaraco.collections" ];
|
|
|
|
meta = with lib; {
|
|
description = "Models and classes to supplement the stdlib 'collections' module";
|
|
homepage = "https://github.com/jaraco/jaraco.collections";
|
|
changelog = "https://github.com/jaraco/jaraco.collections/blob/v${version}/NEWS.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|