python312Packages.paragraphs: init at 1.0.1
Module to incorporate long strings https://github.com/ShayHill/paragraphs
This commit is contained in:
parent
6b80565dad
commit
8df6327267
42
pkgs/development/python-modules/paragraphs/default.nix
Normal file
42
pkgs/development/python-modules/paragraphs/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user