diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2010-11-04 08:28:24 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2010-11-04 08:28:24 +0000 |
commit | 2db7a9dfbde7c3bdb21024ae1d72e2b795c987b4 (patch) | |
tree | b93b53f85364c599cf34e421eee8c713756ec4ca /pkgs/applications/window-managers/stalonetray | |
parent | a2102af6dfa3a5ab34a6bfcd00f8534b515d0b1b (diff) | |
download | nixpkgs-2db7a9dfbde7c3bdb21024ae1d72e2b795c987b4.tar nixpkgs-2db7a9dfbde7c3bdb21024ae1d72e2b795c987b4.tar.gz nixpkgs-2db7a9dfbde7c3bdb21024ae1d72e2b795c987b4.tar.bz2 nixpkgs-2db7a9dfbde7c3bdb21024ae1d72e2b795c987b4.tar.lz nixpkgs-2db7a9dfbde7c3bdb21024ae1d72e2b795c987b4.tar.xz nixpkgs-2db7a9dfbde7c3bdb21024ae1d72e2b795c987b4.tar.zst nixpkgs-2db7a9dfbde7c3bdb21024ae1d72e2b795c987b4.zip |
Add stalonetray
svn path=/nixpkgs/trunk/; revision=24595
Diffstat (limited to 'pkgs/applications/window-managers/stalonetray')
-rw-r--r-- | pkgs/applications/window-managers/stalonetray/default.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/stalonetray/default.nix b/pkgs/applications/window-managers/stalonetray/default.nix new file mode 100644 index 00000000000..143e45b5484 --- /dev/null +++ b/pkgs/applications/window-managers/stalonetray/default.nix @@ -0,0 +1,47 @@ +x@{builderDefsPackage + , libX11, xproto + , ...}: +builderDefsPackage +(a : +let + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ + []; + + buildInputs = map (n: builtins.getAttr n x) + (builtins.attrNames (builtins.removeAttrs x helperArgNames)); + sourceInfo = rec { + baseName="stalonetray"; + version="0.8.0"; + name="${baseName}-${version}"; + url="mirror://sourceforge/${baseName}/${name}.tar.bz2"; + hash="0ccllmpsmilns6xxl174vgcjf8kfakcrhg3psc4cg0yynqbi2mka"; + }; +in +rec { + src = a.fetchurl { + url = sourceInfo.url; + sha256 = sourceInfo.hash; + }; + + inherit (sourceInfo) name version; + inherit buildInputs; + + /* doConfigure should be removed if not needed */ + phaseNames = ["doConfigure" "doMakeInstall"]; + + meta = { + description = "Stand alone tray"; + maintainers = with a.lib.maintainers; + [ + raskin + ]; + platforms = with a.lib.platforms; + linux; + }; + passthru = { + updateInfo = { + downloadPage = "http://sourceforge.net/projects/stalonetray/files/"; + }; + }; +}) x + |