summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/paragraphs/default.nix
blob: 86b74d701152dbb44524d244795759a0e600ac93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools-scm,
  setuptools,
}:

buildPythonPackage rec {
  pname = "paragraphs";
  version = "1.0.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ShayHill";
    repo = "paragraphs";
    tag = 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 ];
  };
}