mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #21752 from sh01/ed_mirror
ed: Add fedoraproject mirror.
This commit is contained in:
commit
c63ebbaab4
1 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ed-1.13";
|
||||
file_md5 = "fb8ffc8d8072e13dd5799131e889bfa5"; # for fedora mirror
|
||||
|
||||
src = fetchurl {
|
||||
# gnu only provides *.lz tarball, which is unfriendly for stdenv bootstrapping
|
||||
|
@ -9,7 +10,10 @@ stdenv.mkDerivation rec {
|
|||
# When updating, please make sure the sources pulled match those upstream by
|
||||
# Unpacking both tarballs and running `find . -type f -exec sha256sum \{\} \; | sha256sum`
|
||||
# in the resulting directory
|
||||
url = "http://fossies.org/linux/privat/${name}.tar.bz2";
|
||||
urls = [
|
||||
"http://pkgs.fedoraproject.org/repo/extras/ed/${name}.tar.bz2/${file_md5}/${name}.tar.bz2"
|
||||
"http://fossies.org/linux/privat/${name}.tar.bz2"
|
||||
];
|
||||
sha256 = "1iym2fsamxr886l3sz8lqzgf00bip5cr0aly8jp04f89kf5mvl0j";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue