nixpkgs/pkgs/development/python-modules/pandoc-xnos/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

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 ];
};
}