about summary refs log tree commit diff
path: root/pkgs/larbs/dwmblocks/default.nix
blob: c3fff9f1a54dd093239956a563408796edc9b145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchgit, libX11, patches ? [] }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "dwmblocks";

  src = fetchgit {
    url = "https://github.com/LukeSmithXYZ/dwmblocks";
    rev = "5af44b7751814a3eee7ce55f8dc52913e11b0240";
    sha256 = "sha256:00cspmrm6j7w1rakkakv26r501wbczb8admxqn4dmqzg87s6581d";
  };

  inherit patches;

  buildInputs = [ libX11 ];

  installPhase = ''
    make install PREFIX=$out
  '';

  meta = {
    homepage = "https://github.com/LukeSmithXYZ/dwmblocks";
    description = "Luke's build of dwmblocks";
    license = licenses.mit;
    platforms = platforms.linux;
  };
}