aboutsummaryrefslogtreecommitdiff
path: root/packages/dmenu/pkg.nix
blob: f7f89012f24a8c16ab4d5234a052edaa068bb07d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, pkgs, libX11, libXinerama, libXft }:
with pkgs.lib;

stdenv.mkDerivation rec {
  name = "local-dmenu-${version}";
  version = "6.2.0";

  src = ./source;

  buildInputs = [ libX11 libXinerama libXft ];


  unpackPhase = ''cp -r $src/* .'';

  buildPhase = ''make'';

  installPhase = ''make PREFIX=$out DESTDIR="" install'';
}