From 5b284b2f98f3b8662cbbf421a97651f8dbe467bf Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 5 Jan 2024 17:35:15 +0100 Subject: [PATCH] gtksheet: init at 4.3.13 --- pkgs/by-name/gt/gtksheet/package.nix | 50 ++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pkgs/by-name/gt/gtksheet/package.nix diff --git a/pkgs/by-name/gt/gtksheet/package.nix b/pkgs/by-name/gt/gtksheet/package.nix new file mode 100644 index 000000000000..5fd238f2e531 --- /dev/null +++ b/pkgs/by-name/gt/gtksheet/package.nix @@ -0,0 +1,50 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, gobject-introspection +, gtk-doc +, pkg-config +, atk +, cairo +, glade +, gtk3 +, pango +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "gtksheet"; + version = "4.3.13"; + + src = fetchFromGitHub { + owner = "fpaquet"; + repo = "gtksheet"; + rev = "V${finalAttrs.version}"; + hash = "sha256-2JwkyT6OBApfgyfNSksbrusF8WcZ4v3tlbblDJJtN2k="; + }; + + strictDeps = true; + + nativeBuildInputs = [ + autoreconfHook + gobject-introspection + gtk-doc + pkg-config + ]; + + buildInputs = [ + atk + cairo + glade + gtk3 + pango + ]; + + meta = { + description = "A spreadsheet widget for GTK+"; + homepage = "https://fpaquet.github.io/gtksheet/"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ wegank ]; + platforms = lib.platforms.unix; + }; +})