2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv
|
2019-08-05 11:02:06 -07:00
|
|
|
, fetchFromGitHub
|
2020-07-29 09:33:39 -07:00
|
|
|
, nix-update-script
|
2019-08-05 11:02:06 -07:00
|
|
|
, pantheon
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-16 18:21:50 -08:00
|
|
|
, pkg-config
|
2019-08-05 11:02:06 -07:00
|
|
|
, vala
|
|
|
|
, libgee
|
|
|
|
, granite
|
|
|
|
, gtk3
|
|
|
|
, switchboard
|
|
|
|
}:
|
2018-08-20 13:31:18 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "switchboard-plug-applications";
|
2020-04-10 09:20:43 -07:00
|
|
|
version = "2.1.7";
|
2018-08-20 13:31:18 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-09-03 16:43:09 -07:00
|
|
|
sha256 = "sha256-uiu19XyogNR0LX/2IIZM6B1JKAfqDMOHniQ29EAa9XM=";
|
2018-08-20 13:31:18 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2020-07-29 09:33:39 -07:00
|
|
|
updateScript = nix-update-script {
|
2019-12-21 22:44:42 -08:00
|
|
|
attrPath = "pantheon.${pname}";
|
2018-08-20 13:31:18 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-16 18:21:50 -08:00
|
|
|
pkg-config
|
2018-08-20 13:31:18 -07:00
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
switchboard
|
|
|
|
];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2018-08-20 13:31:18 -07:00
|
|
|
description = "Switchboard Applications Plug";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/elementary/switchboard-plug-applications";
|
2018-08-20 13:31:18 -07:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = pantheon.maintainers;
|
|
|
|
};
|
|
|
|
}
|