mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
55 lines
909 B
Nix
55 lines
909 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, fetchpatch
|
|
, pantheon
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, 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 = "sha256-/M60w14zfAUXspabvTUWlOPRrHvKtCYUio82b034k6s=";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script {
|
|
attrPath = "pantheon.${pname}";
|
|
};
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
];
|
|
|
|
buildInputs = [
|
|
granite
|
|
gtk3
|
|
libgee
|
|
switchboard
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Switchboard Sharing Plug";
|
|
homepage = "https://github.com/elementary/switchboard-plug-sharing";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = pantheon.maintainers;
|
|
};
|
|
}
|