3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/tabbed/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
895 B
Nix
Raw Normal View History

{ lib, stdenv, fetchgit, xorgproto, libX11, libXft, customConfig ? null, patches ? [ ] }:
2015-06-19 18:58:50 +01:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "tabbed";
version = "unstable-2018-03-10";
2015-06-19 18:58:50 +01:00
src = fetchgit {
url = "https://git.suckless.org/tabbed";
2018-11-30 03:03:33 +00:00
rev = "b5f9ec647aae2d9a1d3bd586eb7523a4e0a329a3";
sha256 = "0frj2yjaf0mfjwgyfappksfir52mx2xxd3cdg5533m5d88vbmxss";
};
inherit patches;
2021-01-15 13:21:58 +00:00
postPatch = lib.optionalString (customConfig != null) ''
cp ${builtins.toFile "config.h" customConfig} ./config.h
'';
buildInputs = [ xorgproto libX11 libXft ];
2022-01-16 20:53:36 +00:00
makeFlags = [ "CC:=$(CC)" ];
installFlags = [ "PREFIX=$(out)" ];
2015-06-19 18:58:50 +01:00
meta = with lib; {
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;
};
}