atom: 1.17.2 -> 1.18.0

This commit is contained in:
Tim Steinbach 2017-06-16 08:09:15 -04:00
parent c3399e5934
commit d990d618c0
No known key found for this signature in database
GPG Key ID: 472BFCCA96BD0EDA
1 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "atom-${version}";
version = "1.17.2";
version = "1.18.0";
src = fetchurl {
url = "https://github.com/atom/atom/releases/download/v${version}/atom-amd64.deb";
sha256 = "05lf9f5c9l111prx7d76cr5h8h340vm7vb8hra5rdrqhjpdvwhhn";
sha256 = "07hssch8sfyp5sji91lx4v62m8zmy9j971i968p747dwfp6g0my6";
name = "${name}.deb";
};
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildCommand = ''
mkdir -p $out/usr/
ar p $src data.tar.gz | tar -C $out -xz ./usr
ar p $src data.tar.xz | tar -C $out -xJ ./usr
substituteInPlace $out/usr/share/applications/atom.desktop \
--replace /usr/share/atom $out/bin
mv $out/usr/* $out/