mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
43 lines
905 B
Nix
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 = [ ];
|
|
};
|
|
}
|