Commit 8df63272 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.paragraphs: init at 1.0.1

Module to incorporate long strings

https://github.com/ShayHill/paragraphs
parent 6b80565d
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };