summary refs log tree commit diff
path: root/pkgs/development/tools/misc
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r--pkgs/development/tools/misc/texi2html/default.nix (renamed from pkgs/development/tools/misc/texitohtml/default.nix)13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/tools/misc/texitohtml/default.nix b/pkgs/development/tools/misc/texi2html/default.nix
index db200610a555..2089142284f4 100644
--- a/pkgs/development/tools/misc/texitohtml/default.nix
+++ b/pkgs/development/tools/misc/texi2html/default.nix
@@ -1,9 +1,10 @@
-args: with args;
-stdenv.mkDerivation {
-  name = "texi2html";
+{ stdenv, fetchurl, perl }:
+
+stdenv.mkDerivation rec {
+  name = "texi2html-1.82";
 
   src = fetchurl {
-    url = http://www.very-clever.com/download/nongnu/texi2html/texi2html-1.82.tar.bz2;
+    url = "http://www.very-clever.com/download/nongnu/texi2html/${name}.tar.bz2";
     sha256 = "1wdli2szkgm3l0vx8rf6lylw0b0m47dlz9iy004n928nqkzix76n";
   };
 
@@ -13,7 +14,7 @@ stdenv.mkDerivation {
     description = "Perl script which converts Texinfo source files to HTML output";
     homepage = http://www.nongnu.org/texi2html/;
     license = "GPLv2";
-    maintainers = [args.lib.maintainers.marcweber];
-    platforms = args.lib.platforms.linux;
+    maintainers = [stdenv.lib.maintainers.marcweber];
+    platforms = stdenv.lib.platforms.linux;
   };
 }