about summary refs log tree commit diff
path: root/pkgs/dwmblocks/default.nix
blob: c0cba83adad8c91269d89feba4024ac0bed12a82 (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
{ 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;
    maintainers = with maintainers; [ pniedzwiedzinski ];
    platforms = platforms.linux;
  };
}