From 9b4fc426060b1544db1560d532363a0774e8151f Mon Sep 17 00:00:00 2001 From: Bob van der Linden Date: Thu, 11 Sep 2014 20:13:43 +0200 Subject: [PATCH 1/3] added volumeicon --- pkgs/tools/audio/volumeicon/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/audio/volumeicon/default.nix diff --git a/pkgs/tools/audio/volumeicon/default.nix b/pkgs/tools/audio/volumeicon/default.nix new file mode 100644 index 000000000000..72286ccf4642 --- /dev/null +++ b/pkgs/tools/audio/volumeicon/default.nix @@ -0,0 +1,22 @@ +{ pkgs, fetchurl, stdenv, gtk3, pkgconfig, intltool, alsaLib }: + +stdenv.mkDerivation rec { + name = "volumeicon-${version}"; + version = "0.5.0"; + + src = fetchurl { + url = "http://softwarebakery.com/maato/files/volumeicon/volumeicon-0.5.0.tar.gz"; + sha256 = "10np3fvfzyxkjw0kfzg81a7kcxda1fz6nkqffkijbay5ksgigwg5"; + }; + + buildInputs = [ gtk3 pkgconfig intltool alsaLib ]; + + meta = with stdenv.lib; { + description = "Volume Icon aims to be a lightweight volume control that sits in your systray."; + platforms = pkgs.lib.platforms.linux; + maintainers = with maintainers; [ bobvanderlinden ]; + license = pkgs.lib.licenses.gpl3; + }; + +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a798391ccd94..598064598c0f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2484,6 +2484,8 @@ let vlan = callPackage ../tools/networking/vlan { }; + volumeicon = callPackage ../tools/audio/volumeicon { }; + wakelan = callPackage ../tools/networking/wakelan { }; wavemon = callPackage ../tools/networking/wavemon { }; From 16ee2ec7433debcdb5a2c2fea02e65e92e745fa6 Mon Sep 17 00:00:00 2001 From: Bob van der Linden Date: Fri, 12 Sep 2014 21:10:59 +0200 Subject: [PATCH 2/3] volumeicon: made description not repeat the name of package --- pkgs/tools/audio/volumeicon/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/audio/volumeicon/default.nix b/pkgs/tools/audio/volumeicon/default.nix index 72286ccf4642..927a537c9f47 100644 --- a/pkgs/tools/audio/volumeicon/default.nix +++ b/pkgs/tools/audio/volumeicon/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { buildInputs = [ gtk3 pkgconfig intltool alsaLib ]; meta = with stdenv.lib; { - description = "Volume Icon aims to be a lightweight volume control that sits in your systray."; + description = "A lightweight volume control that sits in your systray."; platforms = pkgs.lib.platforms.linux; maintainers = with maintainers; [ bobvanderlinden ]; license = pkgs.lib.licenses.gpl3; From 1f9f7a59778c7da53d32f43bfd53490c884c40f2 Mon Sep 17 00:00:00 2001 From: Bob van der Linden Date: Fri, 12 Sep 2014 21:11:10 +0200 Subject: [PATCH 3/3] volumeicon: added homepage --- pkgs/tools/audio/volumeicon/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/audio/volumeicon/default.nix b/pkgs/tools/audio/volumeicon/default.nix index 927a537c9f47..0de3af28c19e 100644 --- a/pkgs/tools/audio/volumeicon/default.nix +++ b/pkgs/tools/audio/volumeicon/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "A lightweight volume control that sits in your systray."; + homepage = "http://softwarebakery.com/maato/volumeicon.html"; platforms = pkgs.lib.platforms.linux; maintainers = with maintainers; [ bobvanderlinden ]; license = pkgs.lib.licenses.gpl3;