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

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

  src = ./source;

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ libX11 ];


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

  buildPhase = ''make'';

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