summary refs log tree commit diff
path: root/pkgs/applications/editors/ed/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/ed/default.nix')
-rw-r--r--pkgs/applications/editors/ed/default.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/applications/editors/ed/default.nix b/pkgs/applications/editors/ed/default.nix
index b1b9616eaab..bccd7754efb 100644
--- a/pkgs/applications/editors/ed/default.nix
+++ b/pkgs/applications/editors/ed/default.nix
@@ -1,12 +1,14 @@
-{ fetchurl, stdenv, lzip }:
+{ fetchurl, stdenv }:
 
 stdenv.mkDerivation rec {
-  version = "1.10";
-  name = "ed-${version}";
+  name = "ed-1.10";
 
   src = fetchurl {
-    url = "mirror://gnu/ed/${name}.tar.lz";
-    sha256 = "16kycdm5fcvpdr41hxb2da8da6jzs9dqznsg5552z6rh28n0jh4m";
+    # gnu only provides *.lz tarball, which is unfriendly for stdenv bootstrapping
+    #url = "mirror://gnu/ed/${name}.tar.gz";
+    url = "http://pkgs.fedoraproject.org/repo/extras/ed/${name}.tar.bz2"
+      + "/38204d4c690a17a989e802ba01b45e98/${name}.tar.bz2";
+    sha256 = "16qvshl8470f3znjfrrci3lzllqkzc6disk5kygzsg9hh4f6wysq";
   };
 
   /* FIXME: Tests currently fail on Darwin:
@@ -24,10 +26,8 @@ stdenv.mkDerivation rec {
     compileFlags = [ "CC=${stdenv.cross.config}-gcc" ];
   };
 
-  buildInputs = [ lzip ];
-
   meta = {
-    description = "GNU ed, an implementation of the standard Unix editor";
+    description = "An implementation of the standard Unix editor";
 
     longDescription = ''
       GNU ed is a line-oriented text editor.  It is used to create,
@@ -41,7 +41,9 @@ stdenv.mkDerivation rec {
     '';
 
     license = stdenv.lib.licenses.gpl3Plus;
+
     homepage = http://www.gnu.org/software/ed/;
-    maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
+
+    maintainers = [ ];
   };
 }