tabbed.nix (456B) download
1{ pkgs ? import <nixpkgs> { }, configHeader }:
2
3with pkgs; stdenv.mkDerivation rec {
4 name = "tabbed";
5 src = fetchurl {
6 url = "https://dl.suckless.org/tools/tabbed-0.8.tar.gz";
7 hash = "sha256-lb3/zLBxCDBo0rVVwlJOnHxXybZElNRsaX5njUmgo9c=";
8 };
9
10 buildInputs = [
11 xorg.libXft
12 ];
13
14 configurePhase = ''
15 ln -sf ${configHeader} config.h
16 '';
17
18 buildPhase = ''
19 make all
20 '';
21
22 installPhase = ''
23 make PREFIX=$out install
24 '';
25}