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

stdenv.mkDerivation rec {
  name = "local-dwmblocks-${version}";
  version = "0.1.0";

  src = ./source;

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libX11 ];


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

  buildPhase = ''make'';

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