Merge pull request #15068 from NeQuissimus/vivaldi_1.1

vivaldi: 1.0 -> 1.1
This commit is contained in:
Joachim Fasting 2016-04-29 02:25:17 +02:00
commit d01fd52b8f

View File

@ -10,23 +10,23 @@
}:
let
archUrl = name: arch: "https://vivaldi.com/download/stable/${name}_${arch}.deb";
archUrl = name: arch: "https://downloads.vivaldi.com/stable/${name}_${arch}.deb";
in
stdenv.mkDerivation rec {
version = "1.0";
debversion = "stable_1.0.435.40-1";
version = "1.1";
debversion = "stable_1.1.453.47-1";
product = "vivaldi";
name = "${product}-${version}";
src = if stdenv.system == "x86_64-linux"
then fetchurl {
url = archUrl "vivaldi-${debversion}" "amd64";
sha256 = "12c051a40258a95f9594eed2f73fa5f591482ac2a41d5cf643811b1ea2a1efbf";
sha256 = "09kadsi4ydjciq092i6linapqzjdzx915zqmz7vfq6w1yp9mqbwq";
}
else if stdenv.system == "i686-linux"
then fetchurl {
url = archUrl "vivaldi-${debversion}" "i386";
sha256 = "6e0b84fba38211bab9a71bc10e97398fca77c0acd82791923c1d432b20846f0f";
sha256 = "0b5410phnkpg6sz0j345vdn0r6n89rm865bchqw8p4kx7pmy78z3";
}
else throw "Vivaldi is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)";