depot/third_party/nixpkgs/pkgs/development/python-modules/pandoc-xnos/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

43 lines
884 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
pandocfilters,
psutil,
setuptools,
}:
buildPythonPackage rec {
pname = "pandoc-xnos";
version = "2.5.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "tomduck";
repo = pname;
rev = version;
hash = "sha256-beiGvN0DS6s8wFjcDKozDuwAM2OApX3lTRaUDRUqLeU=";
};
nativeBuildInputs = [ setuptools ];
pythonRelaxDeps = [ "psutil" ];
propagatedBuildInputs = [
pandocfilters
psutil
];
pythonImportsCheck = [ "pandocxnos" ];
# tests need some patching
doCheck = false;
meta = with lib; {
description = "Pandoc filter suite providing facilities for cross-referencing in markdown documents";
mainProgram = "pandoc-xnos";
homepage = "https://github.com/tomduck/pandoc-xnos";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ppenguin ];
};
}