54 lines
894 B
Nix
54 lines
894 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, fetchpatch
|
|
, pantheon
|
|
, meson
|
|
, ninja
|
|
, pkgconfig
|
|
, vala
|
|
, libgee
|
|
, granite
|
|
, gtk3
|
|
, switchboard
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "switchboard-plug-sharing";
|
|
version = "2.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1awkz16nydlgi8a2dd6agfnd3qwl2qsvv6wnn8bhaz1kbv1v9kpw";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = pantheon.updateScript {
|
|
attrPath = "pantheon.${pname}";
|
|
};
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
vala
|
|
];
|
|
|
|
buildInputs = [
|
|
granite
|
|
gtk3
|
|
libgee
|
|
switchboard
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Switchboard Sharing Plug";
|
|
homepage = "https://github.com/elementary/switchboard-plug-sharing";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = pantheon.maintainers;
|
|
};
|
|
}
|