python312Packages.pyfunctional: init at 1.4.3 (#329947)

* python312Packages.pyfunctional: init at 1.4.3

* Update pkgs/development/python-modules/pyfunctional/default.nix

---------

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Yohann Boniface 2024-08-18 15:37:01 +02:00 committed by GitHub
parent 299b324aa1
commit b4e3bdd7f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
dill,
tabulate,
}:
buildPythonPackage rec {
pname = "pyfunctional";
version = "1.4.3";
pyproject = true;
src = fetchFromGitHub {
owner = "EntilZha";
repo = "PyFunctional";
rev = "refs/tags/v${version}";
hash = "sha256-utUmHQw7Y5pQJkwuy8CbPnCrAd/esaf0n1Exr/trcRg=";
};
build-system = [ poetry-core ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail poetry.masonry.api poetry.core.masonry.api \
--replace-fail "poetry>=" "poetry-core>="
'';
dependencies = [
dill
tabulate
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportCheck = "pyfunctional";
meta = {
description = "Python library for creating data pipelines with chain functional programming";
homepage = "https://github.com/EntilZha/PyFunctional";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}

View File

@ -11474,6 +11474,8 @@ self: super: with self; {
pyfume = callPackage ../development/python-modules/pyfume { };
pyfunctional = callPackage ../development/python-modules/pyfunctional { };
pyfuse3 = callPackage ../development/python-modules/pyfuse3 { };
pyfwup = callPackage ../development/python-modules/pyfwup {