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

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

61 lines
1.0 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, meson
, python3
, ninja
2021-01-17 02:21:50 +00:00
, pkg-config
, 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
wrapGAppsHook
2018-08-20 20:31:18 +00:00
];
buildInputs = [
glib
glib-networking
libgee
];
PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "${placeholder "out"}/share/dbus-1/services";
2018-08-20 20:31:18 +00:00
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
2018-08-20 20:31:18 +00:00
description = "A desktop-wide extension service used by elementary OS";
homepage = "https://github.com/elementary/contractor";
2018-08-20 20:31:18 +00:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
2021-10-28 02:47:36 +00:00
mainProgram = "contractor";
2018-08-20 20:31:18 +00:00
};
}