diff options
-rw-r--r-- | default.nix | 1 | ||||
-rw-r--r-- | pkgs/groff/default.nix | 17 |
2 files changed, 18 insertions, 0 deletions
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 + ''; +} |