mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 03:53:41 +00:00
69b393ace5
These URLs are reported as problematic by Repology. It could be a permanent redirection or the page does not exist anymore
59 lines
1,021 B
Nix
59 lines
1,021 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, pantheon
|
|
, meson
|
|
, python3
|
|
, ninja
|
|
, pkgconfig
|
|
, vala
|
|
, glib
|
|
, libgee
|
|
, dbus
|
|
, glib-networking
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "contractor";
|
|
version = "0.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1jzqv7pglhhyrkj1pfk1l624zn1822wyl5dp6gvwn4sk3iqxwwhl";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = pantheon.updateScript {
|
|
repoName = pname;
|
|
};
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
dbus
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
python3
|
|
vala
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
glib-networking
|
|
libgee
|
|
];
|
|
|
|
PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "${placeholder "out"}/share/dbus-1/services";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A desktop-wide extension service used by elementary OS";
|
|
homepage = "https://github.com/elementary/contractor";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = pantheon.maintainers;
|
|
};
|
|
}
|