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

35 lines
791 B
Nix

{ buildPythonApplication
, fetchFromGitHub
, lib
, pandoc-xnos
, setuptools
}:
buildPythonApplication rec {
pname = "pandoc-eqnos";
version = "2.5.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "tomduck";
repo = pname;
rev = version;
sha256 = "sha256-7GQdfGHhtQs6LZK+ZyMmcPSkoFfBWmATTMejMiFcS7Y=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ pandoc-xnos ];
# Different pandoc executables are not available
doCheck = false;
meta = with lib; {
description = "Standalone pandoc filter from the pandoc-xnos suite for numbering equations and equation references";
homepage = "https://github.com/tomduck/pandoc-eqnos";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ppenguin ];
};
}