2021-11-26 08:51:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-08-05 18:02:06 +00:00
|
|
|
, fetchFromGitHub
|
2020-07-29 16:33:39 +00:00
|
|
|
, nix-update-script
|
2019-08-05 18:02:06 +00:00
|
|
|
, meson
|
|
|
|
, python3
|
|
|
|
, ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2019-08-05 18:02:06 +00:00
|
|
|
, vala
|
|
|
|
, glib
|
|
|
|
, libgee
|
|
|
|
, dbus
|
|
|
|
, glib-networking
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2018-08-20 20:31:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "contractor";
|
2021-07-18 04:10:52 +00:00
|
|
|
version = "0.3.5";
|
2018-08-20 20:31:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-07-18 04:10:52 +00:00
|
|
|
sha256 = "1sqww7zlzl086pjww3d21ah1g78lfrc9aagrqhmsnnbji9gwb8ab";
|
2018-08-20 20:31:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
dbus
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2018-08-20 20:31:18 +00:00
|
|
|
python3
|
|
|
|
vala
|
2019-03-19 03:32:08 +00:00
|
|
|
wrapGAppsHook
|
2018-08-20 20:31:18 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
libgee
|
|
|
|
];
|
|
|
|
|
2019-09-03 16:38:57 +00:00
|
|
|
PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "${placeholder "out"}/share/dbus-1/services";
|
2018-08-20 20:31:18 +00:00
|
|
|
|
2022-01-19 14:53:31 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script {
|
|
|
|
attrPath = "pantheon.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-20 20:31:18 +00:00
|
|
|
description = "A desktop-wide extension service used by elementary OS";
|
2019-12-08 16:50:31 +00:00
|
|
|
homepage = "https://github.com/elementary/contractor";
|
2018-08-20 20:31:18 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-09-18 15:00:51 +00:00
|
|
|
maintainers = teams.pantheon.members;
|
2021-10-28 02:47:36 +00:00
|
|
|
mainProgram = "contractor";
|
2018-08-20 20:31:18 +00:00
|
|
|
};
|
|
|
|
}
|