about summary refs log tree commit diff
path: root/pkgs/tools/X11/mmutils/default.nix
blob: 580abbc779895e2d1c80dd85bc7c06593d9171a6 (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
{ lib, stdenv, fetchFromGitHub, libxcb }:

stdenv.mkDerivation rec {
  pname = "wmutils";
  version = "1.4.1";

  src = fetchFromGitHub {
    owner = "pockata";
    repo = "mmutils";
    rev = "v${version}";
    sha256 = "08wlb278m5lr218c87yqashk7farzny51ybl5h6j60i7pbpm01ml";
  };

  buildInputs = [ libxcb ];

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

  meta = with lib; {
    description = "A set of utilities for querying xrandr monitor information";
    homepage = "https://github.com/pockata/mmutils";
    license = licenses.isc;
    platforms = platforms.unix;
  };
}