aboutsummaryrefslogtreecommitdiff
path: root/packages/dwmblocks/pkg.nix
blob: 41cfdf2c33394dcc3c1000a6b622072e42f787e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, pkgs, libX11, pkgconfig }:
with pkgs.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'';
}