1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 meson,
6 ninja,
7 gitUpdater,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "gnome-shell-extension-valent";
12 version = "1.0.0.alpha.47";
13
14 src = fetchFromGitHub {
15 owner = "andyholmes";
16 repo = "gnome-shell-extension-valent";
17 tag = "v${version}";
18 hash = "sha256-KynVbJtpGl4moIAlxzXouM+nxOGImIcCWdevveshbbo=";
19 };
20
21 nativeBuildInputs = [
22 meson
23 ninja
24 ];
25
26 passthru = {
27 extensionUuid = "valent@andyholmes.ca";
28 extensionPortalSlug = "valent";
29 updateScript = gitUpdater {
30 rev-prefix = "v";
31 };
32 };
33
34 meta = {
35 description = "GNOME Shell integration for Valent";
36 homepage = "https://valent.andyholmes.ca/";
37 changelog = "https://github.com/andyholmes/gnome-shell-extension-valent/blob/${src.rev}/CHANGELOG.md";
38 license = lib.licenses.gpl3Plus;
39 maintainers = [ ];
40 platforms = lib.platforms.linux;
41 };
42}