|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ stdenv, makeWrapper, coreutils, findutils, |
|
|
|
|
{ lib, stdenv, makeWrapper, coreutils, findutils, |
|
|
|
|
gawk, pandoc, gnumake, texlive }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation { |
|
|
|
@ -14,13 +14,13 @@ stdenv.mkDerivation { |
|
|
|
|
cp template.tex $out/share/ |
|
|
|
|
|
|
|
|
|
wrapProgram $out/bin/invoice \ |
|
|
|
|
--set PATH $out/bin:${stdenv.lib.makeBinPath |
|
|
|
|
--set PATH $out/bin:${lib.makeBinPath |
|
|
|
|
[ coreutils findutils gawk gnumake pandoc texlive.combined.scheme-full ]} \ |
|
|
|
|
--set TEMPLATE_FILE $out/share/template.tex |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; { |
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Generate dynamic invoices based on yaml descriptors"; |
|
|
|
|
homepage = "https://git.sr.ht/~spacekookie/libkookie/"; |
|
|
|
|
license = licenses.gpl3; |
|
|
|
|