depot/third_party/nixpkgs/pkgs/tools/X11/mmutils/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

24 lines
570 B
Nix

{ 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 = "Set of utilities for querying xrandr monitor information";
homepage = "https://github.com/pockata/mmutils";
license = licenses.isc;
platforms = platforms.unix;
};
}