mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
2db7a9dfbd
svn path=/nixpkgs/trunk/; revision=24595
48 lines
1.0 KiB
Nix
48 lines
1.0 KiB
Nix
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
|
|
|