depot/third_party/nixpkgs/pkgs/tools/X11/wmutils-libwm/default.nix

26 lines
608 B
Nix
Raw Normal View History

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