home-assistant: 2025.1.1 -> 2025.1.2 (#372513)
[NixPkgs.git] / pkgs / development / python-modules / pandoc-xnos / default.nix
blobaf8c05f9a9ebdf23023206a80995c0704a4cef23
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
5   pandocfilters,
6   psutil,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "pandoc-xnos";
12   version = "2.5.0";
13   format = "pyproject";
15   src = fetchFromGitHub {
16     owner = "tomduck";
17     repo = pname;
18     rev = version;
19     hash = "sha256-beiGvN0DS6s8wFjcDKozDuwAM2OApX3lTRaUDRUqLeU=";
20   };
22   nativeBuildInputs = [ setuptools ];
24   pythonRelaxDeps = [ "psutil" ];
26   propagatedBuildInputs = [
27     pandocfilters
28     psutil
29   ];
31   pythonImportsCheck = [ "pandocxnos" ];
33   # tests need some patching
34   doCheck = false;
36   meta = with lib; {
37     description = "Pandoc filter suite providing facilities for cross-referencing in markdown documents";
38     mainProgram = "pandoc-xnos";
39     homepage = "https://github.com/tomduck/pandoc-xnos";
40     license = licenses.gpl3Only;
41     maintainers = with maintainers; [ ppenguin ];
42   };