mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
e10001042d
This makes it match the behaviour of fetchgit and fetchsvn, so it's easier to write scripts that support all of them.
29 lines
701 B
Nix
29 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;
|
|
};
|
|
}
|