nixpkgs-suyu/pkgs/applications/window-managers/tabbed/default.nix
Benno Fünfstück e10001042d fetchbzr, fetchdarcs, fetchhg: use rev attr
This makes it match the behaviour of fetchgit and fetchsvn, so it's
easier to write scripts that support all of them.
2014-06-28 21:06:10 +02:00

28 lines
701 B
Nix

{stdenv, fetchhg, xproto, libX11, patches ? []}:
stdenv.mkDerivation rec {
name = "tabbed-20120209";
src = fetchhg {
url = http://hg.suckless.org/tabbed;
rev = "d7542a6f6dc5";
sha256 = "1963jsazfmh5k7923c1mfwppz1xbh48z16j0sa64fiscq22as2gj";
};
# Allow users set their own list of patches
inherit patches;
buildInputs = [ xproto libX11 ];
preInstall = ''
export makeFlags="PREFIX=$out"
'';
meta = {
homepage = http://tools.suckless.org/tabbed;
description = "Simple generic tabbed fronted to xembed aware applications";
license="MIT";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}