nixpkgs/pkgs/tools/graphics/wdisplays/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
801 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, libepoxy, wayland, wrapGAppsHook }:
stdenv.mkDerivation (finalAttrs: {
pname = "wdisplays";
version = "1.1.1";
2019-10-29 11:04:50 +00:00
nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ];
2019-10-29 11:04:50 +00:00
buildInputs = [ gtk3 libepoxy wayland ];
2019-10-29 11:04:50 +00:00
src = fetchFromGitHub {
owner = "artizirk";
2019-10-29 11:04:50 +00:00
repo = "wdisplays";
rev = finalAttrs.version;
sha256 = "sha256-dtvP930ChiDRT60xq6xBDU6k+zHnkrAkxkKz2FxlzRs=";
2019-10-29 11:04:50 +00:00
};
2021-01-27 05:44:43 +00:00
meta = with lib; {
2019-10-29 11:04:50 +00:00
description = "A graphical application for configuring displays in Wayland compositors";
homepage = "https://github.com/luispabon/wdisplays";
maintainers = with maintainers; [ lheckemann ma27 ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
2021-11-22 10:50:04 +00:00
mainProgram = "wdisplays";
2019-10-29 11:04:50 +00:00
};
})