mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
faefa9212c
Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com>
31 lines
680 B
Nix
31 lines
680 B
Nix
{ buildPythonApplication
|
|
, fetchFromGitHub
|
|
, lib
|
|
, natsort
|
|
, panflute
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "pandoc-include";
|
|
version = "1.2.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DCsunset";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-kuxud7m+sWcNqE8A+Fwb8ATgiUwxQvHeYBTyw1UzX4U=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ natsort panflute ];
|
|
|
|
pythonImportsCheck = [ "pandoc_include.main" ];
|
|
|
|
meta = with lib; {
|
|
description = "Pandoc filter to allow file and header includes";
|
|
homepage = "https://github.com/DCsunset/pandoc-include";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ppenguin ];
|
|
};
|
|
}
|