Files
nixpkgs/pkgs/development/python-modules/jaraco-stream/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

43 lines
899 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 = {
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 = [ ];
};
}