wavebox: Update & Clean Dependencies

This commit is contained in:
David McKay 2018-12-11 11:42:51 +00:00
parent e576c3b385
commit 8ad1ef1ea5
No known key found for this signature in database
GPG key ID: D2630B9DB94AE0E4

View file

@ -1,16 +1,17 @@
{ stdenv, fetchurl, makeDesktopItem, makeWrapper, autoPatchelfHook { alsaLib, autoPatchelfHook, fetchurl, gtk3, libnotify,
, xorg, gtk2, gtk3 , gnome2, gnome3, nss, alsaLib, udev, libnotify, xdg_utils }: makeDesktopItem, makeWrapper, nss, stdenv, udev, xdg_utils,
xorg }:
with stdenv.lib; with stdenv.lib;
let let
bits = "x86_64"; bits = "x86_64";
version = "4.5.3"; version = "4.5.5";
desktopItem = makeDesktopItem rec { desktopItem = makeDesktopItem rec {
name = "Wavebox"; name = "Wavebox";
exec = name; exec = "wavebox";
icon = "wavebox"; icon = "wavebox";
desktopName = name; desktopName = name;
genericName = name; genericName = name;
@ -23,7 +24,7 @@ in stdenv.mkDerivation rec {
name = "wavebox-${version}"; name = "wavebox-${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/wavebox/waveboxapp/releases/download/v${version}/${tarball}"; url = "https://github.com/wavebox/waveboxapp/releases/download/v${version}/${tarball}";
sha256 = "0a89nlrd9xy853sxv7kb2bjcw209254ik15qrcnh0jhb1ckv16wm"; sha256 = "b392e02b3b1b4deece32311aeb69b31c2550c4251be65f408c35b0badbf3c8b6";
}; };
# don't remove runtime deps # don't remove runtime deps
@ -32,9 +33,9 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
buildInputs = with xorg; [ buildInputs = with xorg; [
libXScrnSaver libXtst libXdmcp libXScrnSaver libXtst
] ++ [ ] ++ [
gtk3 nss gtk2 alsaLib gnome2.GConf alsaLib gtk3 nss
]; ];
runtimeDependencies = [ udev.lib libnotify ]; runtimeDependencies = [ udev.lib libnotify ];