1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 more-itertools,
6 pytestCheckHook,
7 pythonOlder,
8 setuptools-scm,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "jaraco-stream";
14 version = "3.0.4";
15 pyproject = true;
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchPypi {
20 pname = "jaraco_stream";
21 inherit version;
22 sha256 = "sha256-4rxQKOch7SzIUrluyaM/K3Zk6bLb+H7vvmF9EmZBk0s=";
23 };
24
25 build-system = [ setuptools-scm ];
26
27 propagatedBuildInputs = [ more-itertools ];
28
29 pythonNamespaces = [ "jaraco" ];
30
31 nativeCheckInputs = [ pytestCheckHook ];
32
33 pythonImportsCheck = [ "jaraco.stream" ];
34
35 meta = with lib; {
36 description = "Module with routines for handling streaming data";
37 homepage = "https://github.com/jaraco/jaraco.stream";
38 changelog = "https://github.com/jaraco/jaraco.stream/blob/v${version}/NEWS.rst";
39 license = licenses.mit;
40 maintainers = [ ];
41 };
42}