mkKdeDerivation: provide proper stdenv when asked for (#371444)
[NixPkgs.git] / pkgs / tools / misc / pandoc-include / default.nix
blobf35f88fa9e30ad3b3efee261a82bda3be4ff4459
2   buildPythonApplication,
3   fetchFromGitHub,
4   lib,
5   natsort,
6   panflute,
7   lxml,
8   setuptools,
9   nix-update-script,
12 buildPythonApplication rec {
13   pname = "pandoc-include";
14   version = "1.4.1";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "DCsunset";
19     repo = "pandoc-include";
20     tag = "v${version}";
21     hash = "sha256-UUjQA2QYz9QqMek29vGGBMLMahZx2sJ4RfXcxz+b194=";
22   };
24   build-system = [
25     setuptools
26   ];
28   passthru.updateScript = nix-update-script { };
30   propagatedBuildInputs = [
31     natsort
32     panflute
33     lxml
34   ];
36   pythonImportsCheck = [ "pandoc_include.main" ];
38   meta = with lib; {
39     description = "Pandoc filter to allow file and header includes";
40     homepage = "https://github.com/DCsunset/pandoc-include";
41     license = licenses.mit;
42     maintainers = with maintainers; [
43       ppenguin
44       DCsunset
45     ];
46     mainProgram = "pandoc-include";
47   };