Merge pull request #309716 from RmiTtro/pipetools

python3Packages.pipetools: init at 1.1.0
This commit is contained in:
Matthias Beyer 2024-05-16 19:47:05 +02:00 committed by GitHub
commit c2f97d3f55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pipetools";
version = "1.1.0";
# Used github as the src since the pypi package does not include the tests
src = fetchFromGitHub {
owner = "0101";
repo = pname;
rev = "6cba9fadab07a16fd85eed16d5cffc609f84c62b";
hash = "sha256-BoZFePQCQfz1dkct5p/WQLuXoNX3eLcnKf3Mf0fG6u8=";
};
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ setuptools ];
pythonImportsCheck = [ "pipetools" ];
meta = {
description = "A library that enables function composition similar to using Unix pipes";
homepage = "https://0101.github.io/pipetools/";
license = lib.licenses.mit;
};
}

View File

@ -9675,6 +9675,8 @@ self: super: with self; {
pins = callPackage ../development/python-modules/pins { };
pipetools = callPackage ../development/python-modules/pipetools { };
pg8000 = callPackage ../development/python-modules/pg8000 { };
pgcli = callPackage ../development/python-modules/pgcli { };