Merge pull request #39413 from dtzWill/update/mendeley-1.18

mendeley: 1.17.3 -> 1.18, touchup update script
This commit is contained in:
Will Dietz 2018-04-24 12:50:31 -05:00 committed by GitHub
commit e630e9da79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -44,14 +44,14 @@ let
then "i386" then "i386"
else "amd64"; else "amd64";
shortVersion = "1.17.13-stable"; shortVersion = "1.18-stable";
version = "${shortVersion}_${arch}"; version = "${shortVersion}_${arch}";
url = "http://desktop-download.mendeley.com/download/apt/pool/main/m/mendeleydesktop/mendeleydesktop_${version}.deb"; url = "http://desktop-download.mendeley.com/download/apt/pool/main/m/mendeleydesktop/mendeleydesktop_${version}.deb";
sha256 = if stdenv.system == arch32 sha256 = if stdenv.system == arch32
then "0q4x62k00whmq8lskphpcxc610cvclxzcr5k0v7pxjxs9sx5yx43" then "046v1j4sc6m0bf89f52zsg8riygrhldplyih5p0cjhcsd45q6fx8"
else "01ylyily1hip35z0d4qkdpbzp5yn4r015psc5773xsqlgrnlwjm3"; else "072fppgxhiryb6m1fb4qvq8nbblx88xpknnklygch1sw0lyks69h";
deps = [ deps = [
qtbase qtbase

View File

@ -15,9 +15,9 @@ writeScript "update-mendeley" ''
} }
amd64URL=$(follow https://www.mendeley.com/repositories/ubuntu/stable/amd64/mendeleydesktop-latest) amd64URL=$(follow https://www.mendeley.com/repositories/ubuntu/stable/amd64/mendeleydesktop-latest)
amd64V=$(basename $amd64URL|grep -m1 -o "[0-9]\+\.[0-9]\+\.[0-9]\+") amd64V=$(basename $amd64URL|grep -m1 -o "[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?")
i386URL=$(follow https://www.mendeley.com/repositories/ubuntu/stable/i386/mendeleydesktop-latest) i386URL=$(follow https://www.mendeley.com/repositories/ubuntu/stable/i386/mendeleydesktop-latest)
i386V=$(basename $i386URL|grep -m1 -o "[0-9]\+\.[0-9]\+\.[0-9]\+") i386V=$(basename $i386URL|grep -m1 -o "[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?")
echo "amd64 version: $amd64V" echo "amd64 version: $amd64V"
echo "i386 version: $i386V" echo "i386 version: $i386V"