From d3b42598eb10e586126bf8520f025ef2bc052d9a Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Fri, 21 Apr 2023 16:34:37 +0200 Subject: [PATCH] elastic: init at 0.1.3 (#226428) Co-authored-by: Sandro --- maintainers/maintainer-list.nix | 7 +++ pkgs/applications/misc/elastic/default.nix | 58 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 67 insertions(+) create mode 100644 pkgs/applications/misc/elastic/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 98276dd4c4e3..d15322cf497f 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -101,6 +101,13 @@ github = "0xd61"; githubId = 8351869; }; + _0xMRTT = { + email = "0xMRTT@proton.me"; + name = "0xMRTT"; + github = "0xMRTT"; + githubId = 105598867; + matrix = "@0xmrtt:envs.net"; + }; _1000101 = { email = "b1000101@pm.me"; github = "1000101"; diff --git a/pkgs/applications/misc/elastic/default.nix b/pkgs/applications/misc/elastic/default.nix new file mode 100644 index 000000000000..316df2e02d4a --- /dev/null +++ b/pkgs/applications/misc/elastic/default.nix @@ -0,0 +1,58 @@ +{ lib +, stdenv +, fetchFromGitLab +, meson +, ninja +, pkg-config +, vala +, gtk4 +, libgee +, libadwaita +, gtksourceview5 +, blueprint-compiler +, wrapGAppsHook4 +, appstream-glib +, desktop-file-utils +, template-glib +}: + +stdenv.mkDerivation rec { + pname = "elastic"; + version = "0.1.3"; + + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "World"; + repo = "elastic"; + rev = version; + hash = "sha256-CZ+EeGbCzkeNx4GD+2+n3jYwz/cQStjMV2+wm/JNsYU="; + }; + + nativeBuildInputs = [ + meson + ninja + vala + pkg-config + wrapGAppsHook4 + appstream-glib + desktop-file-utils + blueprint-compiler + ]; + + buildInputs = [ + gtk4 + libadwaita + libgee + gtksourceview5 + template-glib + ]; + + meta = with lib; { + description = "Design spring animations"; + homepage = "https://gitlab.gnome.org/World/elastic/"; + mainProgram = "app.drey.Elastic"; + license = licenses.gpl3Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ _0xMRTT ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 39e450342470..c6827e87d82f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7652,6 +7652,8 @@ with pkgs; texinfo = texinfo6_7; # Uses @setcontentsaftertitlepage, removed in 6.8. }; + elastic = callPackage ../applications/misc/elastic { }; + exfat = callPackage ../tools/filesystems/exfat { }; exfatprogs = callPackage ../tools/filesystems/exfatprogs { };