nixpkgs-suyu/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
worldofpeace 95dfa8b8cf pantheon: no bash update script, nixpkgs_github_update
Cuz ew. What could be more ew? Not this really.
Clearly using update-source-version (bash) from a different lang
is better? 😜
2019-12-22 01:47:42 -05:00

62 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.1.0";
repoName = "shortcut-overlay";
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "10s44x5qln3asrdr6v5b3v92prh8rfhv96dbm73zhifm2jjm22g8";
};
passthru = {
updateScript = pantheon.updateScript {
attrPath = "pantheon.${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;
};
}