From 35fe93797ef0da0ad8e07a36ace3275082f0f730 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 8 Aug 2014 10:27:20 +0200 Subject: [PATCH] trayer: update trayer from 1.1.5 to 1.1.6 and adpot it --- .../window-managers/trayer/default.nix | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/window-managers/trayer/default.nix b/pkgs/applications/window-managers/trayer/default.nix index 9b9017420c02..43a1d2b8e79a 100644 --- a/pkgs/applications/window-managers/trayer/default.nix +++ b/pkgs/applications/window-managers/trayer/default.nix @@ -1,26 +1,25 @@ -{ stdenv, fetchurl, pkgconfig, gdk_pixbuf, gtk, libXmu }: +{ stdenv, fetchFromGitHub, pkgconfig, gdk_pixbuf, gtk, libXmu }: stdenv.mkDerivation rec { - name = "trayer-1.1.5"; + name = "trayer-1.1.6"; buildInputs = [ pkgconfig gdk_pixbuf gtk libXmu ]; - src = fetchurl { - url = "https://github.com/sargon/trayer-srg/tarball/${name}"; - name = "${name}.tar.gz"; - sha256 = "98804500188c0bb99c7389ebea4b2e4dfffa2f3d06dc97e633b4934cf7c29757"; - }; + src = fetchFromGitHub { + owner = "sargon"; + repo = "trayer-srg"; + rev = name; + sha256 = "0mmya7a1qh3zyqgvcx5fz2lvr9n0ilr490l1j3z4myahi4snk2mg"; + }; makeFlags = [ "PREFIX=$(out)" ]; - meta = { + meta = with stdenv.lib; { homepage = http://github.com/sargon/trayer-srg; - - license = "bsd"; - + license = licenses.mit; description = "A lightweight GTK2-based systray for UNIX desktop"; - - platforms = stdenv.lib.platforms.linux; + platforms = platforms.linux; + maintainer = with maintainers; [ pSub ]; }; }