nixpkgs/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix

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

68 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
2021-01-17 02:21:50 +00:00
, pkg-config
, meson
, python3
, ninja
, vala
, desktop-file-utils
, gtk3
, granite
, libgee
, libhandy
, gcr
, webkitgtk_4_1
, wrapGAppsHook
}:
2018-08-20 20:31:18 +00:00
stdenv.mkDerivation rec {
pname = "elementary-capnet-assist";
version = "2.4.3";
2018-08-20 20:31:18 +00:00
src = fetchFromGitHub {
owner = "elementary";
repo = "capnet-assist";
2018-08-20 20:31:18 +00:00
rev = version;
sha256 = "sha256-06DWkLkVpdSYnKOR8zqA0tvWXYrglBM9R/XEIfIkwQU=";
2018-08-20 20:31:18 +00:00
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
2021-01-17 02:21:50 +00:00
pkg-config
2018-08-20 20:31:18 +00:00
python3
vala
wrapGAppsHook
];
buildInputs = [
gcr
granite
gtk3
libgee
libhandy
webkitgtk_4_1
2018-08-20 20:31:18 +00:00
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
2018-08-20 20:31:18 +00:00
description = "A 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;
2018-08-20 20:31:18 +00:00
platforms = platforms.linux;
maintainers = teams.pantheon.members;
2021-10-28 02:47:36 +00:00
mainProgram = "io.elementary.capnet-assist";
2018-08-20 20:31:18 +00:00
};
}