nixpkgs/pkgs/development/python-modules/jaraco-stream/default.nix
2024-10-13 11:08:48 +02:00

43 lines
905 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
more-itertools,
pytestCheckHook,
pythonOlder,
setuptools-scm,
setuptools,
}:
buildPythonPackage rec {
pname = "jaraco-stream";
version = "3.0.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "jaraco_stream";
inherit version;
sha256 = "sha256-4rxQKOch7SzIUrluyaM/K3Zk6bLb+H7vvmF9EmZBk0s=";
};
build-system = [ setuptools-scm ];
propagatedBuildInputs = [ more-itertools ];
pythonNamespaces = [ "jaraco" ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jaraco.stream" ];
meta = with lib; {
description = "Module with routines for handling streaming data";
homepage = "https://github.com/jaraco/jaraco.stream";
changelog = "https://github.com/jaraco/jaraco.stream/blob/v${version}/NEWS.rst";
license = licenses.mit;
maintainers = [ ];
};
}