Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, stdenv, buildPythonPackage, fetchPypi, jaraco-classes, more-itertools, pytestCheckHook, setuptools-scm, setuptools,}:
buildPythonPackage rec { pname = "jaraco-functools"; version = "4.6.0"; pyproject = true;
src = fetchPypi { pname = "jaraco_functools"; inherit version; hash = "sha256-iAxXfslyCzoFLVvGEfufImmz2HkC70JEDfRDuI5EMoA="; };
postPatch = '' sed -i "/coherent\.licensed/d" pyproject.toml '';
build-system = [ setuptools setuptools-scm ];
dependencies = [ more-itertools ];
nativeCheckInputs = [ jaraco-classes pytestCheckHook ];
# test is flaky on darwin disabledTests = if stdenv.hostPlatform.isDarwin then [ "test_function_throttled" ] else null;
pythonNamespaces = [ "jaraco" ];
pythonImportsCheck = [ "jaraco.functools" ];
meta = { description = "Additional functools in the spirit of stdlib's functools"; homepage = "https://github.com/jaraco/jaraco.functools"; changelog = "https://github.com/jaraco/jaraco.functools/blob/v${version}/NEWS.rst"; license = lib.licenses.mit; maintainers = [ ]; };}