nixpkgs/pkgs/development/python-modules/jaraco_functools/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

36 lines
733 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, more-itertools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "jaraco.functools";
version = "3.6.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-Lho74Rq67O5fWrjdWJY4voMEzEy5E2H+Xmg/S22ft6M=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
more-itertools
];
doCheck = false;
pythonNamespaces = [ "jaraco" ];
pythonImportsCheck = [ "jaraco.functools" ];
meta = with lib; {
description = "Additional functools in the spirit of stdlib's functools";
homepage = "https://github.com/jaraco/jaraco.functools";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}