summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/jaraco-stream/default.nix
blob: 062dc5315350fab1ea5d16223d0b1ffb82362bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchPypi,
  more-itertools,
  pytestCheckHook,
  setuptools-scm,
  setuptools,
}:

buildPythonPackage rec {
  pname = "jaraco-stream";
  version = "3.0.4";
  pyproject = true;

  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 = {
    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 = lib.licenses.mit;
    maintainers = [ ];
  };
}