depot/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

58 lines
1 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, pkg-config
, meson
, ninja
, vala
, gtk4
, granite7
, libadwaita
, libgee
, gcr_4
, webkitgtk_6_0
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
pname = "elementary-capnet-assist";
version = "8.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "capnet-assist";
rev = version;
sha256 = "sha256-xYywiI8hFjS7ODEhLGVwrlAY8I0pvUHfg6UkDhUsglU=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
vala
wrapGAppsHook4
];
buildInputs = [
gcr_4
granite7
gtk4
libadwaita
libgee
webkitgtk_6_0
];
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Small WebKit app that assists a user with login when a captive portal is detected";
homepage = "https://github.com/elementary/capnet-assist";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
mainProgram = "io.elementary.capnet-assist";
};
}