summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-lorem/default.nix
blob: e60991c7935777ed2be58fe2f82adf6f0309a4e9 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  pytestCheckHook,
}:
buildPythonPackage rec {
  pname = "python-lorem";
  version = "1.3.0.post3";
  pyproject = true;

  src = fetchPypi {
    inherit version;
    pname = "python_lorem";
    hash = "sha256-Vw1TKheXg+AkhksnmWUfdIo+Jt7X7m1pS2f0Kfe8pv0=";
  };

  build-system = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "lorem"
  ];

  meta = {
    description = "Pythonic lorem ipsum generator";
    homepage = "https://github.com/JarryShaw/lorem";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ aleksana ];
  };
}