nixpkgs/pkgs/applications/system/systemdgenie/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

34 lines
752 B
Nix

{ stdenv
, lib
, cmake
, extra-cmake-modules
, kxmlgui
, fetchFromGitLab
, kdelibs4support
, wrapQtAppsHook
}:
stdenv.mkDerivation rec{
pname = "systemdgenie";
version = "0.99.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
repo = "SystemdGenie";
owner = "system";
rev = "v${version}";
hash = "sha256-y+A2OuK1ZooPY5W0SsXEb1aaOAJ2b7QSwiumolmAaR4=";
};
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
buildInputs = [ kxmlgui kdelibs4support ];
meta = with lib; {
description = "Systemd management utility";
mainProgram = "systemdgenie";
homepage = "https://kde.org";
license = licenses.gpl2;
maintainers = [ maintainers.pasqui23 ];
platforms = platforms.linux;
};
}