Merge pull request #110135 from doronbehar/pkg/mailspring

mailspring: 1.7.8 -> 1.8.0
This commit is contained in:
Sandro 2021-01-20 15:11:01 +01:00 committed by GitHub
commit 1cd0cd0b8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,11 +18,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mailspring"; pname = "mailspring";
version = "1.7.8"; version = "1.8.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/Foundry376/Mailspring/releases/download/${version}/mailspring-${version}-amd64.deb"; url = "https://github.com/Foundry376/Mailspring/releases/download/${version}/mailspring-${version}-amd64.deb";
sha256 = "207fbf813b6da018a5b848e5dc1194b5996daab39adbd873b2cecb0565c105ce"; sha256 = "BtzYcHN87qH7s3GiBrsDfmuy9v2xdhCeSShu8+T9T3E=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -60,7 +60,6 @@ stdenv.mkDerivation rec {
cp -ar ./usr/share $out cp -ar ./usr/share $out
substituteInPlace $out/share/mailspring/resources/app.asar.unpacked/mailsync \ substituteInPlace $out/share/mailspring/resources/app.asar.unpacked/mailsync \
--replace realpath ${coreutils}/bin/realpath \
--replace dirname ${coreutils}/bin/dirname --replace dirname ${coreutils}/bin/dirname
ln -s $out/share/mailspring/mailspring $out/bin/mailspring ln -s $out/share/mailspring/mailspring $out/bin/mailspring