aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/X11/wmutils-libwm/default.nix
blob: 72022621afedc5181ffce44684a49842dc0bae39 (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
{ 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 stdenv.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;
  };
}