* composedArgsAndFun -> makeOverridable for consistency.
* Rename a few single-version packages to "default.nix". svn path=/nixpkgs/trunk/; revision=22803
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://garr.dl.sourceforge.net/sourceforge/fbpanel/fbpanel-4.12.tgz;
|
||||
sha256 = "0zv0zkq6w4h7dk0ji8bm9cqpj2qxv3ss161mqg9y68shvxvmfrlz";
|
||||
};
|
||||
|
||||
buildInputs = [libX11 gtk pkgconfig libXmu libXpm
|
||||
libpng libjpeg libtiff librsvg];
|
||||
configureFlags = [];
|
||||
}; /* null is a terminator for sumArgs */
|
||||
in with localDefs;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fbpanel-4.12";
|
||||
builder = writeScript (name + "-builder")
|
||||
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
|
||||
meta = {
|
||||
description = "Just a desktop panel";
|
||||
inherit src;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user