nixpkgs/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
worldofpeace 0b59f4212c pantheon: stylize expressions
The same way we want them in GNOME in nixpkgs.
Didn't touch the greeter expression because I have
a branch where it's already rewritten.
2019-08-06 11:20:01 -04:00

64 lines
1.1 KiB
Nix

{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, libxml2
, desktop-file-utils
, gtk3
, glib
, granite
, libgee
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-shortcut-overlay";
version = "1.0.1";
repoName = "shortcut-overlay";
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "1ph4rx2l5fn0zh4fjfjlgbgskmzc0lvzqgcv7v4kr5m4rij1p4y4";
};
passthru = {
updateScript = pantheon.updateScript {
inherit repoName;
attrPath = pname;
};
};
nativeBuildInputs = [
desktop-file-utils
libxml2
meson
ninja
pkgconfig
vala
wrapGAppsHook
];
buildInputs = [
elementary-icon-theme
glib
granite
gtk3
libgee
];
meta = with stdenv.lib; {
description = "A native OS-wide shortcut overlay to be launched by Gala";
homepage = https://github.com/elementary/shortcut-overlay;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}