From c1be8ddb34c5bdb2adda4e3f9dff2f8b5fe43c08 Mon Sep 17 00:00:00 2001 From: aleksana Date: Sat, 17 Aug 2024 00:59:33 +0800 Subject: [PATCH] live-chart: init at 1.10.0 --- pkgs/by-name/li/live-chart/package.nix | 50 ++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pkgs/by-name/li/live-chart/package.nix diff --git a/pkgs/by-name/li/live-chart/package.nix b/pkgs/by-name/li/live-chart/package.nix new file mode 100644 index 000000000000..942fe3545562 --- /dev/null +++ b/pkgs/by-name/li/live-chart/package.nix @@ -0,0 +1,50 @@ +{ + lib, + stdenv, + fetchFromGitHub, + meson, + ninja, + pkg-config, + vala, + gtk4, + libgee, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "live-chart"; + version = "1.10.0"; + + src = fetchFromGitHub { + owner = "lcallarec"; + repo = "live-chart"; + rev = finalAttrs.version; + hash = "sha256-SOZJ9sVrmsZybs5BVXWmqBJ/P7SZI/X8TGWHXGvXAU8="; + }; + + outputs = [ + "out" + "dev" + ]; + + nativeBuildInputs = [ + meson + ninja + pkg-config + vala + ]; + + buildInputs = [ + gtk4 + libgee + ]; + + strictDeps = true; + + meta = { + description = "Real-time charting library for Vala and GTK4 based on Cairo"; + homepage = "https://github.com/lcallarec/live-chart"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ aleksana ]; + platforms = lib.platforms.unix; + }; +})