nixpkgs/pkgs/desktops/pantheon/services/contractor/default.nix

60 lines
1.0 KiB
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, meson
, python3
, ninja
, pkgconfig
, vala
, glib
, libgee
, dbus
, glib-networking
, wrapGAppsHook
}:
2018-08-20 21:31:18 +01:00
stdenv.mkDerivation rec {
pname = "contractor";
version = "0.3.4";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
2020-09-04 00:43:09 +01:00
sha256 = "sha256-FHLecRxTE8v3M7cV6rkQKNhPhKFhuhvkzB5C+u7Z+Ms=";
2018-08-20 21:31:18 +01:00
};
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
2018-08-20 21:31:18 +01:00
};
};
nativeBuildInputs = [
dbus
meson
ninja
pkgconfig
python3
vala
wrapGAppsHook
2018-08-20 21:31:18 +01:00
];
buildInputs = [
glib
glib-networking
libgee
];
PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "${placeholder "out"}/share/dbus-1/services";
2018-08-20 21:31:18 +01:00
meta = with stdenv.lib; {
description = "A desktop-wide extension service used by elementary OS";
homepage = "https://github.com/elementary/contractor";
2018-08-20 21:31:18 +01:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}