1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
40 lines
851 B
Nix
40 lines
851 B
Nix
{
|
|
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 = [ ];
|
|
};
|
|
}
|