Merge pull request #313993 from aveltras/add-gnome-monitor-config

gnome-monitor-config: init at 0-unstable-2023-09-26
This commit is contained in:
Aleksana 2024-05-27 22:09:52 +08:00 committed by GitHub
commit feab3b1816
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 54 additions and 0 deletions

View File

@ -2041,6 +2041,12 @@
githubId = 1217745;
name = "Aldwin Vlasblom";
};
aveltras = {
email = "romain.viallard@outlook.fr";
github = "aveltras";
githubId = 790607;
name = "Romain Viallard";
};
averagebit = {
email = "averagebit@pm.me";
github = "averagebit";

View File

@ -0,0 +1,48 @@
{ lib
, fetchFromGitHub
, stdenv
, meson
, ninja
, pkg-config
, cairo
, glib
}:
stdenv.mkDerivation rec {
pname = "gnome-monitor-config";
version = "0-unstable-2023-09-26";
src = fetchFromGitHub {
owner = "jadahl";
repo = "gnome-monitor-config";
rev = "04b854e6411cd9ca75582c108aea63ae3c202f0e";
hash = "sha256-uVWhQ5SCyadDkeOd+pY2cYZAQ0ZvWMlgndcr1ZIEf50=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
cairo
glib
];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
mv src/gnome-monitor-config $out/bin
runHook postInstall
'';
meta = with lib; {
description = "A program to help manage GNOME monitor configuration";
homepage = "https://github.com/jadahl/gnome-monitor-config";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ aveltras ];
platforms = platforms.linux;
mainProgram = "gnome-monitor-config";
};
}