nixpkgs/pkgs/development/python-modules/jaraco_functools/default.nix
Sandro Jäckel ab126c9a62 python3Packages: provide setuptools-scm with toml[i] by default and remove duplicated toml packages
Some packages seem to still require toml despite setuptools-scm having switched to tomli.
If it is missing the version number in dist.into is set to 0.0.0 and silently all version pins break.
2021-09-05 15:00:10 +02:00

27 lines
688 B
Nix

{ lib, buildPythonPackage, fetchPypi
, setuptools-scm
, more-itertools, backports_functools_lru_cache }:
buildPythonPackage rec {
pname = "jaraco.functools";
version = "3.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "bfcf7da71e2a0e980189b0744b59dba6c1dcf66dcd7a30f8a4413e478046b314";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ];
doCheck = false;
pythonNamespaces = [ "jaraco" ];
meta = with lib; {
description = "Additional functools in the spirit of stdlib's functools";
homepage = "https://github.com/jaraco/jaraco.functools";
license = licenses.mit;
};
}