depot/third_party/nixpkgs/pkgs/development/python-modules/pandoc-xnos/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

30 lines
699 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
, pandocfilters
, psutil
}:
buildPythonPackage rec {
pname = "pandoc-xnos";
version = "2.5.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "tomduck";
repo = pname;
rev = version;
sha256 = "sha256-beiGvN0DS6s8wFjcDKozDuwAM2OApX3lTRaUDRUqLeU=";
};
propagatedBuildInputs = [ pandocfilters psutil ];
pythonImportsCheck = [ "pandocxnos" ];
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 ];
};
}