lol
1{ lib, stdenv, fetchFromGitHub, libxcb }:
2
3stdenv.mkDerivation rec {
4 pname = "wmutils";
5 version = "1.4.1";
6
7 src = fetchFromGitHub {
8 owner = "pockata";
9 repo = "mmutils";
10 rev = "v${version}";
11 sha256 = "08wlb278m5lr218c87yqashk7farzny51ybl5h6j60i7pbpm01ml";
12 };
13
14 buildInputs = [ libxcb ];
15
16 installFlags = [ "PREFIX=$(out)" ];
17
18 meta = with lib; {
19 description = "A set of utilities for querying xrandr monitor information";
20 homepage = "https://github.com/pockata/mmutils";
21 license = licenses.isc;
22 platforms = platforms.unix;
23 };
24}