2019-08-05 11:02:06 -07:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2020-07-29 09:33:39 -07:00
|
|
|
, nix-update-script
|
2019-08-05 11:02:06 -07:00
|
|
|
, pantheon
|
|
|
|
, meson
|
|
|
|
, python3
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, vala
|
|
|
|
, glib
|
|
|
|
, libgee
|
|
|
|
, dbus
|
|
|
|
, glib-networking
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2018-08-20 13:31:18 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "contractor";
|
|
|
|
version = "0.3.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-09-03 16:43:09 -07:00
|
|
|
sha256 = "sha256-FHLecRxTE8v3M7cV6rkQKNhPhKFhuhvkzB5C+u7Z+Ms=";
|
2018-08-20 13:31:18 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2020-07-29 09:33:39 -07:00
|
|
|
updateScript = nix-update-script {
|
2019-12-21 22:44:42 -08:00
|
|
|
attrPath = "pantheon.${pname}";
|
2018-08-20 13:31:18 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
dbus
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
vala
|
2019-03-18 20:32:08 -07:00
|
|
|
wrapGAppsHook
|
2018-08-20 13:31:18 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
libgee
|
|
|
|
];
|
|
|
|
|
2019-09-03 09:38:57 -07:00
|
|
|
PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "${placeholder "out"}/share/dbus-1/services";
|
2018-08-20 13:31:18 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A desktop-wide extension service used by elementary OS";
|
2019-12-08 08:50:31 -08:00
|
|
|
homepage = "https://github.com/elementary/contractor";
|
2018-08-20 13:31:18 -07:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = pantheon.maintainers;
|
|
|
|
};
|
|
|
|
}
|