diff options
author | Troels Henriksen <athas@sigkill.dk> | 2023-08-08 21:45:30 +0200 |
---|---|---|
committer | Troels Henriksen <athas@sigkill.dk> | 2023-08-15 20:08:48 +0200 |
commit | 95a20b3f39beb94be92b88611c4ec5bd57a6afd1 (patch) | |
tree | 64a333b9dcc2c26796096fd133c58705c896351a /pkgs/tools/text/u2ps/default.nix | |
parent | 39360e75af2b62a33181a829219148fef6f048b0 (diff) |
u2ps: init at 1.2
Diffstat (limited to 'pkgs/tools/text/u2ps/default.nix')
-rw-r--r-- | pkgs/tools/text/u2ps/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/text/u2ps/default.nix b/pkgs/tools/text/u2ps/default.nix new file mode 100644 index 0000000000000..95d46db42ed28 --- /dev/null +++ b/pkgs/tools/text/u2ps/default.nix @@ -0,0 +1,32 @@ +{ lib +, stdenv +, fetchFromGitHub +, ghostscript_headless +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "u2ps"; + version = "1.2"; + + src = fetchFromGitHub { + owner = "arsv"; + repo = "u2ps"; + rev = finalAttrs.version; + hash = "sha256-sa0CL47PwYVDykxzF8KeWhz7HXAX6jZ0AcfecD+aFyg="; + }; + + buildInputs = [ ghostscript_headless ]; + + meta = with lib; { + description = "Unicode text to postscript converter"; + homepage = "https://github.com/arsv/u2ps"; + license = licenses.gpl3Plus; + longDescription = '' + U2ps is a text to postscript converter similar to a2ps, + with emphasis on Unicode support. + ''; + mainProgram = "u2ps"; + maintainers = [ maintainers.athas ]; + platforms = platforms.unix; + }; +}) |