2019-08-05 19:02:06 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2019-10-10 15:49:20 +01:00
|
|
|
, fetchpatch
|
2019-08-05 19:02:06 +01:00
|
|
|
, pantheon
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, vala
|
|
|
|
, libgee
|
|
|
|
, granite
|
|
|
|
, gtk3
|
|
|
|
, switchboard
|
|
|
|
}:
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "switchboard-plug-sharing";
|
2020-04-03 22:12:30 +01:00
|
|
|
version = "2.1.4";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-04-03 22:12:30 +01:00
|
|
|
sha256 = "1awkz16nydlgi8a2dd6agfnd3qwl2qsvv6wnn8bhaz1kbv1v9kpw";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = pantheon.updateScript {
|
2019-12-22 06:44:42 +00:00
|
|
|
attrPath = "pantheon.${pname}";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
switchboard
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Switchboard Sharing Plug";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/elementary/switchboard-plug-sharing";
|
2018-08-20 21:31:18 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = pantheon.maintainers;
|
|
|
|
};
|
|
|
|
}
|