mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
Merge pull request #39413 from dtzWill/update/mendeley-1.18
mendeley: 1.17.3 -> 1.18, touchup update script
This commit is contained in:
commit
e630e9da79
@ -44,14 +44,14 @@ let
|
||||
then "i386"
|
||||
else "amd64";
|
||||
|
||||
shortVersion = "1.17.13-stable";
|
||||
shortVersion = "1.18-stable";
|
||||
|
||||
version = "${shortVersion}_${arch}";
|
||||
|
||||
url = "http://desktop-download.mendeley.com/download/apt/pool/main/m/mendeleydesktop/mendeleydesktop_${version}.deb";
|
||||
sha256 = if stdenv.system == arch32
|
||||
then "0q4x62k00whmq8lskphpcxc610cvclxzcr5k0v7pxjxs9sx5yx43"
|
||||
else "01ylyily1hip35z0d4qkdpbzp5yn4r015psc5773xsqlgrnlwjm3";
|
||||
then "046v1j4sc6m0bf89f52zsg8riygrhldplyih5p0cjhcsd45q6fx8"
|
||||
else "072fppgxhiryb6m1fb4qvq8nbblx88xpknnklygch1sw0lyks69h";
|
||||
|
||||
deps = [
|
||||
qtbase
|
||||
|
@ -15,9 +15,9 @@ writeScript "update-mendeley" ''
|
||||
}
|
||||
|
||||
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)
|
||||
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 "i386 version: $i386V"
|
||||
|
Loading…
Reference in New Issue
Block a user