mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
48 lines
985 B
Nix
48 lines
985 B
Nix
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
|
|
, vala, libgee, granite, gtk3, cups, switchboard, gobject-introspection }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "switchboard-plug-printers";
|
|
version = "2.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "05pkf3whh51gd9d0h2h4clgf7r3mvzl4ybas7834vhy19dzcbzmc";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = pantheon.updateScript {
|
|
repoName = pname;
|
|
};
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
vala
|
|
];
|
|
|
|
buildInputs = [
|
|
cups
|
|
granite
|
|
gtk3
|
|
libgee
|
|
switchboard
|
|
];
|
|
|
|
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "lib/switchboard";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Switchboard Printers Plug";
|
|
homepage = https://github.com/elementary/switchboard-plug-printers;
|
|
license = licenses.lgpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = pantheon.maintainers;
|
|
};
|
|
|
|
}
|