nixos/firmware: make compression configurable (#364924)
[NixPkgs.git] / pkgs / tools / misc / pandoc-secnos / default.nix
blobd76e2d905fe99a95357e3638bf155e6e9e642162
2   buildPythonApplication,
3   fetchFromGitHub,
4   lib,
5   pandoc-xnos,
6   setuptools,
7 }:
9 buildPythonApplication rec {
10   pname = "pandoc-secnos";
11   version = "2.2.2";
12   format = "pyproject";
14   src = fetchFromGitHub {
15     owner = "tomduck";
16     repo = pname;
17     rev = version;
18     sha256 = "sha256-J9KLZvioYM3Pl2UXjrEgd4PuLTwCLYy9SsJIzgw5/jU=";
19   };
21   nativeBuildInputs = [
22     setuptools
23   ];
25   propagatedBuildInputs = [ pandoc-xnos ];
27   patches = [
28     ./patch/fix-manifest.patch
29   ];
31   # Different pandoc executables are not available
32   doCheck = false;
34   meta = with lib; {
35     description = "Standalone pandoc filter from the pandoc-xnos suite for numbering sections and section references";
36     homepage = "https://github.com/tomduck/pandoc-secnos";
37     license = licenses.gpl3Only;
38     maintainers = with maintainers; [ ppenguin ];
39     mainProgram = "pandoc-secnos";
40   };