From 85b32a415882f6d1c45e4c4fd888f33fc5ce83a5 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 16 Mar 2021 20:04:10 +0100 Subject: Add groff --- default.nix | 1 + pkgs/groff/default.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/groff/default.nix diff --git a/default.nix b/default.nix index 764e693..64e5f1d 100644 --- a/default.nix +++ b/default.nix @@ -30,6 +30,7 @@ ncmpcpp = pkgs.callPackage ./pkgs/larbs-music/ncmpcpp-vis.nix { }; duckling-proxy = pkgs.callPackage ./pkgs/duckling-proxy { }; saait = pkgs.callPackage ./pkgs/saait { }; + groff = pkgs.callPackage ./pkgs/groff { }; st = pkgs.callPackage ./pkgs/larbs/st { }; dwm = pkgs.callPackage ./pkgs/larbs/dwm { }; diff --git a/pkgs/groff/default.nix b/pkgs/groff/default.nix new file mode 100644 index 0000000..178ce2b --- /dev/null +++ b/pkgs/groff/default.nix @@ -0,0 +1,17 @@ +{ stdenv, fetchurl, perl, texinfo, pkgconfig, netpbm, psutils, ghostscript }: + +stdenv.mkDerivation { + pname = "groff"; + version = "1.22.4"; + + src = fetchurl { + url = "https://ftp.gnu.org/gnu/groff/groff-1.22.4.tar.gz"; + sha256 = "14q2mldnr1vx0l9lqp9v2f6iww24gj28iyh4j2211hyynx67p3p7"; + }; + + buildInputs = [ perl texinfo ]; + + configurePhase = '' + ./configure --prefix=$out + ''; +} -- cgit 1.4.1