nixpkgs-suyu/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
866 B
Nix
Raw Normal View History

{ lib, stdenv, fetchgit, xorgproto, libX11, libXft, customConfig ? null, patches ? [ ] }:
2015-06-19 19:58:50 +02:00
2022-11-12 17:38:15 +01:00
stdenv.mkDerivation (finalAttrs: {
pname = "tabbed";
2022-11-12 17:38:15 +01:00
version = "0.7";
2015-06-19 19:58:50 +02:00
src = fetchgit {
url = "https://git.suckless.org/tabbed";
2022-11-12 17:38:15 +01:00
rev = finalAttrs.version;
hash = "sha256-Y1MgPwqMUoa2Rr4HmqjtPaQegUmQJWYkcbyFcJHAOBI=";
};
inherit patches;
2021-01-15 14:21:58 +01:00
postPatch = lib.optionalString (customConfig != null) ''
cp ${builtins.toFile "config.h" customConfig} ./config.h
'';
buildInputs = [ xorgproto libX11 libXft ];
2022-01-16 21:53:36 +01:00
makeFlags = [ "CC:=$(CC)" ];
installFlags = [ "PREFIX=$(out)" ];
2015-06-19 19:58:50 +02: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;
};
2022-11-12 17:38:15 +01:00
})