summaryrefslogtreecommitdiff
path: root/pkgs/cmdtree.nix
blob: 1c991bb74a95c61f798c8378465dbd155609f9e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{stdenv, fetchgit, xorg }:

stdenv.mkDerivation {
  name = "cmdtree";
  src = fetchgit {
    url = "git://jb55.com/cmdtree";
    rev = "a7a1f07bfca23397d0d645cb7dbc3b7a63e521cb";
    sha256 = "sha256-QPUJUNiLzva+Mtbhic/yv6u2VIFdXkiZCtSz4eWSxzc=";
  };
  patchPhase = ''
    cp ${../lib/cfg.def.h} ./cfg.def.h
  '';
  makeFlags = "PREFIX=$(out)";
  buildInputs = [ xorg.libX11 xorg.libXft ];
}