about summary refs log tree commit diff
path: root/pkgs/tools/X11/wmutils-libwm/default.nix
blob: 6d2787a96cd312a4f8a2af553e8f643e273dd8e3 (plain) (blame)
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
{ lib, stdenv, fetchFromGitHub, libxcb }:

stdenv.mkDerivation rec {
  pname = "wmutils-libwm";
  version = "1.0";

  src = fetchFromGitHub {
    owner = "wmutils";
    repo = "libwm";
    rev = "v${version}";
    sha256 = "1lpbqrilhffpzc0b7vnp08jr1wr96lndwc7y0ck8hlbzlvm662l0";
  };

  buildInputs = [ libxcb ];

  installFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    description = "A small library for X window manipulation";
    homepage = "https://github.com/wmutils/libwm";
    license = licenses.isc;
    maintainers = with maintainers; [ bhougland ];
    platforms = platforms.unix;
  };
}