about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-16 20:04:10 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-16 20:04:10 +0100
commit85b32a415882f6d1c45e4c4fd888f33fc5ce83a5 (patch)
tree816d7a984a5e6f1b7ab3cfd18b29726bddcd20e1
parent75f706aca1739202e6e1d05d269f7838f8462d21 (diff)
downloadpnpkgs-85b32a415882f6d1c45e4c4fd888f33fc5ce83a5.tar.gz
pnpkgs-85b32a415882f6d1c45e4c4fd888f33fc5ce83a5.zip
Add groff
-rw-r--r--default.nix1
-rw-r--r--pkgs/groff/default.nix17
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
+  '';
+}