diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-30 21:07:07 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-30 21:07:07 +0200 |
commit | 6d4bd78fad1c2040cafe6f5fa30d8134dac3bdf6 (patch) | |
tree | 37977913dee77c1804abc3915b218c05ab0419fd /pkgs/applications/editors | |
parent | 7cd46a05943bfd86a46a3d99a1d85a2a028d4d2c (diff) | |
parent | 2858c41823db1654f123c455cca2b145b8d8737b (diff) | |
download | nixlib-6d4bd78fad1c2040cafe6f5fa30d8134dac3bdf6.tar nixlib-6d4bd78fad1c2040cafe6f5fa30d8134dac3bdf6.tar.gz nixlib-6d4bd78fad1c2040cafe6f5fa30d8134dac3bdf6.tar.bz2 nixlib-6d4bd78fad1c2040cafe6f5fa30d8134dac3bdf6.tar.lz nixlib-6d4bd78fad1c2040cafe6f5fa30d8134dac3bdf6.tar.xz nixlib-6d4bd78fad1c2040cafe6f5fa30d8134dac3bdf6.tar.zst nixlib-6d4bd78fad1c2040cafe6f5fa30d8134dac3bdf6.zip |
Merge commit '2858c41' into HEAD
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/ed/default.nix | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/pkgs/applications/editors/ed/default.nix b/pkgs/applications/editors/ed/default.nix index 2404405c307f..9d5848f02637 100644 --- a/pkgs/applications/editors/ed/default.nix +++ b/pkgs/applications/editors/ed/default.nix @@ -1,26 +1,20 @@ -{ stdenv, fetchurl +{ stdenv, fetchurl, lzip , buildPlatform, hostPlatform }: stdenv.mkDerivation rec { name = "ed-${version}"; - version = "1.14.1"; + version = "1.14.2"; src = fetchurl { - # gnu only provides *.lz tarball, which is unfriendly for stdenv bootstrapping - #url = "mirror://gnu/ed/${name}.tar.gz"; - # 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 - urls = let file_sha512 = "84396fe4e4f0bf0b591037277ff8679a08b2883207628aaa387644ad83ca5fbdaa74a581f33310e28222d2fea32a0b8ba37e579597cc7d6145df6eb956ea75db"; - in [ - ("http://pkgs.fedoraproject.org/repo/extras/ed" - + "/${name}.tar.bz2/sha512/${file_sha512}/${name}.tar.bz2") - "http://fossies.org/linux/privat/${name}.tar.bz2" - ]; - sha256 = "1pk6qa4sr7qc6vgm34hjx44hsh8x2bwaxhdi78jhsacnn4zwi7bw"; + url = "mirror://gnu/ed/${name}.tar.lz"; + sha256 = "1nqhk3n1s1p77g2bjnj55acicsrlyb2yasqxqwpx0w0djfx64ygm"; }; + unpackCmd = "tar --lzip -xf"; + + nativeBuildInputs = [ lzip ]; + /* FIXME: Tests currently fail on Darwin: building test scripts for ed-1.5... @@ -32,11 +26,7 @@ stdenv.mkDerivation rec { */ doCheck = !(hostPlatform.isDarwin || hostPlatform != buildPlatform); - # TODO(@Ericson2314): Use placeholder to make this a configure flag once Nix - # 1.12 is released. - preConfigure = '' - export DESTDIR=$out - ''; + installFlags = [ "DESTDIR=$(out)" ]; configureFlags = [ "--exec-prefix=${stdenv.cc.prefix}" |