nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 meson,
6 ninja,
7 pkg-config,
8 vala,
9 gtk4,
10 libgee,
11 libadwaita,
12 gtksourceview5,
13 blueprint-compiler,
14 wrapGAppsHook4,
15 desktop-file-utils,
16 template-glib,
17 nix-update-script,
18}:
19
20stdenv.mkDerivation rec {
21 pname = "elastic";
22 version = "0.1.9";
23
24 src = fetchFromGitLab {
25 domain = "gitlab.gnome.org";
26 owner = "World";
27 repo = "elastic";
28 rev = version;
29 hash = "sha256-jK9RcZ5U1Dwkpu1mlfq/l4347eRCd3Y/KDYYIIkGytk=";
30 };
31
32 nativeBuildInputs = [
33 meson
34 ninja
35 vala
36 pkg-config
37 wrapGAppsHook4
38 desktop-file-utils
39 blueprint-compiler
40 ];
41
42 buildInputs = [
43 gtk4
44 libadwaita
45 libgee
46 gtksourceview5
47 template-glib
48 ];
49
50 passthru = {
51 updateScript = nix-update-script { };
52 };
53
54 meta = with lib; {
55 description = "Design spring animations";
56 homepage = "https://gitlab.gnome.org/World/elastic/";
57 mainProgram = "app.drey.Elastic";
58 license = licenses.gpl3Plus;
59 platforms = platforms.unix;
60 maintainers = with maintainers; [ _0xMRTT ];
61 teams = [ teams.gnome-circle ];
62 };
63}