about summary refs log tree commit diff
path: root/pkgs/groff/default.nix
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 /pkgs/groff/default.nix
parent75f706aca1739202e6e1d05d269f7838f8462d21 (diff)
downloadpnpkgs-85b32a415882f6d1c45e4c4fd888f33fc5ce83a5.tar.gz
pnpkgs-85b32a415882f6d1c45e4c4fd888f33fc5ce83a5.zip
Add groff
Diffstat (limited to 'pkgs/groff/default.nix')
-rw-r--r--pkgs/groff/default.nix17
1 files changed, 17 insertions, 0 deletions
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
+  '';
+}