2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchgit, xorgproto, libX11, libXft, customConfig ? null, patches ? [ ] }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "tabbed";
|
|
|
|
version = "unstable-2018-03-10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.suckless.org/tabbed";
|
|
|
|
rev = "b5f9ec647aae2d9a1d3bd586eb7523a4e0a329a3";
|
|
|
|
sha256 = "0frj2yjaf0mfjwgyfappksfir52mx2xxd3cdg5533m5d88vbmxss";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit patches;
|
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
postPatch = lib.optionalString (customConfig != null) ''
|
2020-04-24 23:36:52 +00:00
|
|
|
cp ${builtins.toFile "config.h" customConfig} ./config.h
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ xorgproto libX11 libXft ];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://tools.suckless.org/tabbed";
|
|
|
|
description = "Simple generic tabbed fronted to xembed aware applications";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|