python312Packages.paragraphs: init at 1.0.1

Module to incorporate long strings

https://github.com/ShayHill/paragraphs
This commit is contained in:
Fabian Affolter 2024-09-06 15:29:13 +02:00
parent 6b80565dad
commit 8df6327267
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools-scm,
setuptools,
}:
buildPythonPackage rec {
pname = "paragraphs";
version = "1.0.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ShayHill";
repo = "paragraphs";
rev = "refs/tags/${version}";
hash = "sha256-u5/oNOCLdvfQVEIEpraeNLjTUoh3eJQ6qSExnkzTmNw=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"paragraphs"
];
meta = {
description = "Module to incorporate long strings";
homepage = "https://github.com/ShayHill/paragraphs";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -9526,6 +9526,8 @@ self: super: with self; {
para = callPackage ../development/python-modules/para { };
paragraphs = callPackage ../development/python-modules/paragraphs { };
param = callPackage ../development/python-modules/param { };
parameter-expansion-patched = callPackage ../development/python-modules/parameter-expansion-patched { };