depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco_collections/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

45 lines
879 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, jaraco_classes
, jaraco_text
}:
buildPythonPackage rec {
pname = "jaraco.collections";
version = "3.5.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ByuT6zX55IUISFdVU05mo07xzISvKR/Sfzm0TUwN0sM=";
};
postPatch = ''
# break dependency cycle
sed -i "/'jaraco.text',/d" setup.cfg
'';
nativeBuildInputs = [
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";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}