biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / misc / ablog / default.nix
blob67b21e5199de57ceb75036aee67ed6b12ca186cd
1 { lib
2 , python3
3 , fetchPypi
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "ablog";
8   version = "0.11.8";
9   format = "pyproject";
11   src = fetchPypi {
12     inherit pname version;
13     hash = "sha256-PpNBfa4g14l8gm9+PxOFc2NDey031D7Ohutx2OGUeak=";
14   };
16   nativeBuildInputs = with python3.pkgs; [
17     setuptools
18     setuptools-scm
19     wheel
20   ];
22   propagatedBuildInputs = with python3.pkgs; [
23     docutils
24     feedgen
25     invoke
26     packaging
27     python-dateutil
28     sphinx
29     watchdog
30   ];
32   nativeCheckInputs = with python3.pkgs; [
33     pytestCheckHook
34   ];
36   pytestFlagsArray = [
37     "-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning"
38     "--rootdir" "src/ablog"
39     "-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
40   ];
42   meta = with lib; {
43     description = "ABlog for blogging with Sphinx";
44     mainProgram = "ablog";
45     homepage = "https://ablog.readthedocs.io/en/latest/";
46     license = licenses.mit;
47     maintainers = with maintainers; [ rgrinberg ];
48   };