blob: 3221b16dcfcf5e51af876a8aaefb12da885117f3 (
plain) (
blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{ lib
, python3
, fetchFromGitHub
, gitUpdater
}:
python3.pkgs.buildPythonApplication rec {
pname = "ablog";
version = "0.11.10";
format = "pyproject";
src = fetchFromGitHub {
owner = "sunpy";
repo = "ablog";
rev = "v${version}";
hash = "sha256-8NyFLGtMJLUkojEhWpWNZz3zlfgGVgSvgk4dDEz1jzs=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
setuptools-scm
wheel
];
propagatedBuildInputs = with python3.pkgs; [
docutils
feedgen
invoke
packaging
python-dateutil
sphinx
watchdog
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
defusedxml
];
pytestFlagsArray = [
"-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning"
"--rootdir" "src/ablog"
"-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = with lib; {
description = "ABlog for blogging with Sphinx";
mainProgram = "ablog";
homepage = "https://ablog.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ rgrinberg ];
};
}
|