google_talk_plugin: sha1 -> sha256
related https://github.com/NixOS/nixpkgs/issues/77238
This commit is contained in:
parent
2ff2533199
commit
741db8c3b0
|
@ -48,21 +48,21 @@ in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "google-talk-plugin";
|
pname = "google-talk-plugin";
|
||||||
|
|
||||||
# You can get the upstream version and SHA-1 hash from the following URLs:
|
# You can get the upstream version and SHA-256 hash from the following URLs:
|
||||||
# curl -s http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-amd64/Packages | grep -E 'Version|SHA1'
|
# curl -s http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-amd64/Packages | grep -E 'Version|SHA256'
|
||||||
# curl -s http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages | grep -E 'Version|SHA1'
|
# curl -s http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages | grep -E 'Version|SHA256'
|
||||||
version = "5.41.3.0";
|
version = "5.41.3.0";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
if stdenv.hostPlatform.system == "x86_64-linux" then
|
if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "${baseURL}/google-talkplugin_${version}-1_amd64.deb";
|
url = "${baseURL}/google-talkplugin_${version}-1_amd64.deb";
|
||||||
sha1 = "0bbc3d6997ba22ce712d93e5bc336c894b54fc81";
|
sha256 = "af7e23d2b6215afc547f96615b99f04e0561557cc58c0c9302364b5a3840d97d";
|
||||||
}
|
}
|
||||||
else if stdenv.hostPlatform.system == "i686-linux" then
|
else if stdenv.hostPlatform.system == "i686-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "${baseURL}/google-talkplugin_${version}-1_i386.deb";
|
url = "${baseURL}/google-talkplugin_${version}-1_i386.deb";
|
||||||
sha1 = "6eae0544858f85c68b0cc46d7786e990bd94f139";
|
sha256 = "4c46d2b7f2018640288cd7ac49adc47e309d0beadfd979eb03030e672016b4a7";
|
||||||
}
|
}
|
||||||
else throw "Google Talk does not support your platform.";
|
else throw "Google Talk does not support your platform.";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue