os/pkgs/print-label.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
235 B
Nix
Raw Normal View History

2023-09-12 18:10:55 +00:00
self:
with self; ''
TMPDIR=${coreutils}/bin/mktemp
echo "ASN#$1" > "$TMPDIR/input.txt"
${imagemagick}/bin/convert -size 696x64 xc:white -font "FreeMono" -pointsize 48 -fill black -annotate +16+48 "@$TMPDIR/input.txt" test.png
''