summary refs log tree commit diff
path: root/pkgs/development/tools/misc/autogen
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-09-29 09:01:40 +0000
committerLudovic Courtès <ludo@gnu.org>2009-09-29 09:01:40 +0000
commit403a4f9ae673a043fb0999e4ecc6dca5e8176d1b (patch)
treebab35cb5e24a2e998d9602e26080973321ba1a65 /pkgs/development/tools/misc/autogen
parent6e5fc2e7d361d1cf0b19ff237e90afe244576503 (diff)
downloadnixpkgs-403a4f9ae673a043fb0999e4ecc6dca5e8176d1b.tar
nixpkgs-403a4f9ae673a043fb0999e4ecc6dca5e8176d1b.tar.gz
nixpkgs-403a4f9ae673a043fb0999e4ecc6dca5e8176d1b.tar.bz2
nixpkgs-403a4f9ae673a043fb0999e4ecc6dca5e8176d1b.tar.lz
nixpkgs-403a4f9ae673a043fb0999e4ecc6dca5e8176d1b.tar.xz
nixpkgs-403a4f9ae673a043fb0999e4ecc6dca5e8176d1b.tar.zst
nixpkgs-403a4f9ae673a043fb0999e4ecc6dca5e8176d1b.zip
Add GNU AutoGen.
svn path=/nixpkgs/trunk/; revision=17491
Diffstat (limited to 'pkgs/development/tools/misc/autogen')
-rw-r--r--pkgs/development/tools/misc/autogen/default.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/autogen/default.nix b/pkgs/development/tools/misc/autogen/default.nix
new file mode 100644
index 00000000000..4dd84e4f1e9
--- /dev/null
+++ b/pkgs/development/tools/misc/autogen/default.nix
@@ -0,0 +1,48 @@
+{ fetchurl, stdenv, guile, which }:
+
+let version = "5.9.8"; in
+
+  stdenv.mkDerivation {
+    name = "autogen-${version}";
+
+    src = fetchurl {
+      url = "mirror://gnu/autogen/rel${version}/autogen-${version}.tar.bz2";
+      sha256 = "0y3ygzhzzv7sa0ndvszpfqwcjg4hcb35bcp8qqsndmr6mh6v6cnn";
+    };
+
+    buildInputs = [ guile which ];
+
+    # The tests rely on being able to find `libopts.a'.
+    configureFlags = "--enable-static";
+
+    doCheck = true;
+
+    meta = {
+      description = "GNU AutoGen, an automated text and program generation tool";
+
+      longDescription = ''
+        AutoGen is a tool designed to simplify the creation and maintenance
+        of programs that contain large amounts of repetitious text.  It is
+        especially valuable in programs that have several blocks of text that
+        must be kept synchronized.
+
+        AutoGen can now accept XML files as definition input, in addition to
+        CGI data (for producing dynamic HTML) and traditional AutoGen
+        definitions.
+
+        A common example where this would be useful is in creating and
+        maintaining the code required for processing program options.
+        Processing options requires multiple constructs to be maintained in
+        parallel in different places in your program.  Options maintenance
+        needs to be done countless times.  So, AutoGen comes with an add-on
+        package named AutoOpts that simplifies the maintenance and
+        documentation of program options.
+      '';
+
+      license = "GPLv3+";
+
+      homepage = http://www.gnu.org/software/autogen/;
+
+      maintainers = [ stdenv.lib.maintainers.ludo ];
+    };
+  }