summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/orgformat/default.nix
blob: dfca2461975d7db71f8c76ac8e3c0b7a1fc292a5 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage {
  pname = "orgformat";
  version = "0-unstable-2024-10-23";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "novoid";
    repo = "orgformat";
    rev = "5346cc1a5fd670981e9b1d0bbd215eb5c79040d4";
    hash = "sha256-4MnA+OzmEGN3KzjsZVwBXASiYTg529cfghpuf4owYJ8=";
  };

  build-system = [
    setuptools
  ];

  pythonImportsCheck = [
    "orgformat"
  ];

  meta = {
    description = "Utility library for providing functions to generate and modify Org mode syntax elements like links, time-stamps, or date-stamps";
    homepage = "https://github.com/novoid/orgformat";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ confusedalex ];
  };
}