vk-messenger: 4.0.1 -> 4.5.2

This commit is contained in:
gnidorah 2019-10-26 13:36:51 +03:00 committed by Jon
parent 34647cf35b
commit 791f835c2e

View File

@ -1,19 +1,19 @@
{ stdenv, fetchurl, rpmextract, autoPatchelfHook { stdenv, fetchurl, rpmextract, autoPatchelfHook
, xorg, gtk2, gnome2, nss, alsaLib, udev, libnotify }: , xorg, gtk3, gnome2, nss, alsaLib, udev, libnotify }:
let let
version = "4.0.1"; version = "4.5.2";
in stdenv.mkDerivation { in stdenv.mkDerivation {
pname = "vk-messenger"; pname = "vk-messenger";
inherit version; inherit version;
src = { src = {
i686-linux = fetchurl { i686-linux = fetchurl {
url = "https://desktop.userapi.com/rpm/master/vk-${version}.i686.rpm"; url = "https://desktop.userapi.com/rpm/master/vk-${version}.i686.rpm";
sha256 = "0mgppa9qnhix64zp40dc05yc9klsc7qiwcgw7pwq2wm7m3fz3nm8"; sha256 = "11xsdmvd2diq3m61si87x2c08nap0vakcypm90wjmdjwayg3fdlw";
}; };
x86_64-linux = fetchurl { x86_64-linux = fetchurl {
url = "https://desktop.userapi.com/rpm/master/vk-${version}.x86_64.rpm"; url = "https://desktop.userapi.com/rpm/master/vk-${version}.x86_64.rpm";
sha256 = "0ra0y4dfx4gfa1r3lm6v42j7c9pf7a8vh12kxv3wkg3pvijwgdsm"; sha256 = "0j65d6mwj6rxczi0p9fsr6jh37jxw3a3h6w67xwgdvibb7lf3gbb";
}; };
}.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); }.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
@ -21,7 +21,7 @@ in stdenv.mkDerivation {
buildInputs = (with xorg; [ buildInputs = (with xorg; [
libXdamage libXtst libXScrnSaver libxkbfile libXdamage libXtst libXScrnSaver libxkbfile
]) ++ [ ]) ++ [
gtk2 gnome2.GConf nss alsaLib gtk3 nss alsaLib
]; ];
runtimeDependencies = [ udev.lib libnotify ]; runtimeDependencies = [ udev.lib libnotify ];
@ -49,6 +49,5 @@ in stdenv.mkDerivation {
license = licenses.unfree; license = licenses.unfree;
maintainers = [ maintainers.gnidorah ]; maintainers = [ maintainers.gnidorah ];
platforms = ["i686-linux" "x86_64-linux"]; platforms = ["i686-linux" "x86_64-linux"];
hydraPlatforms = [];
}; };
} }