about summary refs log tree commit diff
path: root/pkgs/dwmblocks/default.nix
blob: 4f08ed020f4872d183ad5a93d4fcf3d91ae573b9 (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
{ stdenv, fetchgit, libX11 }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "dwmblocks";

  src = fetchgit {
    url = "https://github.com/LukeSmithXYZ/dwmblocks";
    rev = "8b313712dc8000ce65b229e3089f429bc9fc8cd9";
    sha256 = "1a4i4bbmw9f9wljk8g979ypsnr7199wxx8dj1vadcq4k33szgzyj";
  };

  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;
  };
}