mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
46 lines
967 B
Nix
46 lines
967 B
Nix
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
|
|
, vala, libgee, granite, gtk3, switchboard, gobject-introspection }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "switchboard-plug-display";
|
|
version = "2.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0pw21bnc79shiynmg7h9bs1x1v011lh07ypn22j73yhmxp6wiypd";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = pantheon.updateScript {
|
|
repoName = pname;
|
|
};
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
vala
|
|
];
|
|
|
|
buildInputs = [
|
|
granite
|
|
gtk3
|
|
libgee
|
|
switchboard
|
|
];
|
|
|
|
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "lib/switchboard";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Switchboard Displays Plug";
|
|
homepage = https://github.com/elementary/switchboard-plug-display;
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = pantheon.maintainers;
|
|
};
|
|
}
|