···23stdenv.mkDerivation rec {
4 name = "ed-1.13";
5- file_md5 = "fb8ffc8d8072e13dd5799131e889bfa5"; # for fedora mirror
67 src = fetchurl {
8 # gnu only provides *.lz tarball, which is unfriendly for stdenv bootstrapping
···10 # When updating, please make sure the sources pulled match those upstream by
11 # Unpacking both tarballs and running `find . -type f -exec sha256sum \{\} \; | sha256sum`
12 # in the resulting directory
13- urls = [
14- "http://pkgs.fedoraproject.org/repo/extras/ed/${name}.tar.bz2/${file_md5}/${name}.tar.bz2"
15- "http://fossies.org/linux/privat/${name}.tar.bz2"
16- ];
0017 sha256 = "1iym2fsamxr886l3sz8lqzgf00bip5cr0aly8jp04f89kf5mvl0j";
18 };
19
···23stdenv.mkDerivation rec {
4 name = "ed-1.13";
056 src = fetchurl {
7 # gnu only provides *.lz tarball, which is unfriendly for stdenv bootstrapping
···9 # When updating, please make sure the sources pulled match those upstream by
10 # Unpacking both tarballs and running `find . -type f -exec sha256sum \{\} \; | sha256sum`
11 # in the resulting directory
12+ urls = let file_md5 = "fb8ffc8d8072e13dd5799131e889bfa5"; # for fedora mirror
13+ in [
14+ ("http://pkgs.fedoraproject.org/repo/extras/ed"
15+ + "/${name}.tar.bz2/${file_md5}/${name}.tar.bz2")
16+ "http://fossies.org/linux/privat/${name}.tar.bz2"
17+ ];
18 sha256 = "1iym2fsamxr886l3sz8lqzgf00bip5cr0aly8jp04f89kf5mvl0j";
19 };
20