mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
31 lines
733 B
Nix
31 lines
733 B
Nix
{ buildPythonApplication
|
|
, fetchFromGitHub
|
|
, lib
|
|
, pandoc-xnos
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "pandoc-tablenos";
|
|
version = "2.3.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomduck";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-FwzsRziY3PoySo9hIFuLw6tOO9oQij6oQEyoY8HgnII=";
|
|
};
|
|
|
|
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 tables and table references";
|
|
homepage = "https://github.com/tomduck/pandoc-tablenos";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ ppenguin ];
|
|
};
|
|
}
|