From bd1ab1222fa0dfddc297ef76b85d69d80395b6f4 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Fri, 23 Feb 2024 08:27:55 +0100 Subject: [PATCH] python3Packages.chainstream: init at 1.0.1 --- .../python-modules/chainstream/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/chainstream/default.nix diff --git a/pkgs/development/python-modules/chainstream/default.nix b/pkgs/development/python-modules/chainstream/default.nix new file mode 100644 index 000000000000..00c10a22e9ee --- /dev/null +++ b/pkgs/development/python-modules/chainstream/default.nix @@ -0,0 +1,26 @@ +{ lib, fetchPypi, python3Packages }: + +python3Packages.buildPythonPackage rec { + pname = "chainstream"; + version = "1.0.1"; + + pyproject = true; + + nativeBuildInputs = [ python3Packages.setuptools ]; + + src = fetchPypi { + inherit pname version; + hash = "sha256-302P1BixEmkODm+qTLZwaWLktrlf9cEziQ/TIVfI07c="; + }; + + pythonImportsCheck = [ + "chainstream" + ]; + + meta = with lib; { + description = "Chain I/O streams together into a single stream"; + homepage = "https://github.com/rrthomas/chainstream"; + license = licenses.cc-by-sa-40; + maintainers = with maintainers; [ cbley ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b50984ad81ce..22968ba80d3a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2005,6 +2005,8 @@ self: super: with self; { chainmap = callPackage ../development/python-modules/chainmap { }; + chainstream = callPackage ../development/python-modules/chainstream { }; + chalice = callPackage ../development/python-modules/chalice { }; chameleon = callPackage ../development/python-modules/chameleon { };