depot/third_party/nixpkgs/pkgs/development/python-modules/pandoc-xnos/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

43 lines
822 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;
sha256 = "sha256-beiGvN0DS6s8wFjcDKozDuwAM2OApX3lTRaUDRUqLeU=";
};
nativeBuildInputs = [
setuptools
];
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";
homepage = "https://github.com/tomduck/pandoc-xnos";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ppenguin ];
};
}