mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
0215034f25
when they already rely on SRI hashes.
44 lines
820 B
Nix
44 lines
820 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
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|