depot/third_party/nixpkgs/pkgs/development/python-modules/latexrestricted/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

32 lines
769 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
}:
buildPythonPackage rec {
pname = "latexrestricted";
version = "0.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-AMfDTruJKejDdXW98VkeeEwELql5566bsL1SutLDpso=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "latexrestricted" ];
# upstream has no tests
doCheck = false;
meta = {
homepage = "https://github.com/gpoore/latexrestricted";
description = "Python library for creating executables compatible with LaTeX restricted shell escape";
changelog = "https://github.com/gpoore/latexrestricted/blob/v${version}/CHANGELOG.md";
license = lib.licenses.lppl13c;
maintainers = with lib.maintainers; [ romildo ];
};
}