e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
49 lines
1,023 B
Nix
49 lines
1,023 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, setuptools-scm
|
|
, jaraco-classes
|
|
, jaraco-text
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco-collections";
|
|
version = "4.3.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "jaraco.collections";
|
|
inherit version;
|
|
hash = "sha256-dP/CP8z+5N4KLr9VajNnW2o8AD1jNZR9MSKgvIgiyOQ=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|