1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 pythonOlder,
7 setuptools-scm,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "paragraphs";
13 version = "1.0.1";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "ShayHill";
20 repo = "paragraphs";
21 tag = version;
22 hash = "sha256-u5/oNOCLdvfQVEIEpraeNLjTUoh3eJQ6qSExnkzTmNw=";
23 };
24
25 build-system = [
26 setuptools
27 setuptools-scm
28 ];
29
30 nativeCheckInputs = [ pytestCheckHook ];
31
32 pythonImportsCheck = [
33 "paragraphs"
34 ];
35
36 meta = {
37 description = "Module to incorporate long strings";
38 homepage = "https://github.com/ShayHill/paragraphs";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ fab ];
41 };
42}