nixpkgs/pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix

54 lines
911 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, meson
, ninja
2021-01-16 18:21:50 -08:00
, pkg-config
, vala
, libgee
, granite
, gtk3
, switchboard
}:
2018-08-20 13:31:18 -07:00
stdenv.mkDerivation rec {
pname = "switchboard-plug-applications";
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 = {
updateScript = nix-update-script {
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
];
meta = with lib; {
2018-08-20 13:31:18 -07:00
description = "Switchboard Applications Plug";
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;
};
}