forked from mirrors/nixpkgs
5bca69ac34
Unneded args.something replaced with args: with args; line. After this line args is the only place where we can recieve variables from. Also removed several buildInputs = []; lines. svn path=/nixpkgs/trunk/; revision=10415
30 lines
772 B
Nix
30 lines
772 B
Nix
args: with args.lib; with args;
|
|
|
|
let
|
|
co = chooseOptionsByFlags {
|
|
inherit args;
|
|
flagDescr = {
|
|
mandatory = { buildInputs = [ "libX11" ]; cfgOption = "--with-x"; };
|
|
# many options to add here ... :)
|
|
# many of them can be set by configuration file I think..
|
|
};
|
|
};
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
inherit (co) buildInputs configureFlags;
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/materm/mrxvt-0.5.3.tar.gz;
|
|
sha256 = "04flnn58hp4qvvk6jzyipsj13v1qyrjabgbw5laz5cqxvxzpncp2";
|
|
};
|
|
|
|
name = "mrxvt-0.5.3";
|
|
|
|
meta = {
|
|
description = "multitabbed lightweight terminal emulator basd on rxvt supporting transparency, backgroundimages, freetype fonts,..";
|
|
homepage = http://sourceforge.net/projects/materm;
|
|
license = "GPL";
|
|
};
|
|
}
|