chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ab / ablog / package.nix
blobcbede853507b36fa9ebfbdf145c9c224317027b0
1 { lib
2 , python3
3 , fetchFromGitHub
4 , gitUpdater
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "ablog";
9   version = "0.11.11";
10   format = "pyproject";
12   src = fetchFromGitHub {
13     owner = "sunpy";
14     repo = "ablog";
15     rev = "v${version}";
16     hash = "sha256-Hx4iLO+Of2o4tmIDS17SxyswbW2+KMoD4BjB4q1KU9M=";
17   };
19   nativeBuildInputs = with python3.pkgs; [
20     setuptools
21     setuptools-scm
22     wheel
23   ];
25   propagatedBuildInputs = with python3.pkgs; [
26     docutils
27     feedgen
28     invoke
29     packaging
30     python-dateutil
31     sphinx
32     watchdog
33   ];
35   nativeCheckInputs = with python3.pkgs; [
36     pytestCheckHook
37     defusedxml
38   ];
40   pytestFlagsArray = [
41     "-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning"
42     "--rootdir" "src/ablog"
43     "-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
44   ];
46   passthru.updateScript = gitUpdater { rev-prefix = "v"; };
48   meta = with lib; {
49     description = "ABlog for blogging with Sphinx";
50     mainProgram = "ablog";
51     homepage = "https://ablog.readthedocs.io/en/latest/";
52     license = licenses.mit;
53     maintainers = with maintainers; [ rgrinberg ];
54   };