Merge pull request #278952 from wegank/gtksheet-init

lepton-eda: 1.9.17-20211219 -> 1.9.18-20220529
This commit is contained in:
Weijia Wang 2024-01-07 01:51:06 +01:00 committed by GitHub
commit a1648566d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 56 additions and 5 deletions

View File

@ -7,9 +7,9 @@
, autoreconfHook
, guile
, flex
, gtk2
, gtk3
, glib
, gtkextra
, gtksheet
, gettext
, gawk
, shared-mime-info
@ -19,19 +19,20 @@
stdenv.mkDerivation rec {
pname = "lepton-eda";
version = "1.9.17-20211219";
version = "1.9.18-20220529";
src = fetchurl {
url = "https://github.com/lepton-eda/lepton-eda/releases/download/${version}/lepton-eda-${builtins.head (lib.splitString "-" version)}.tar.gz";
sha256 = "sha256-lOneKeJUcw6jOX/3iv9BDWOJ3xip/vGhzxHHNAbtsS8=";
hash = "sha256-X9yNuosNR1Jf3gYWQZeOnKdxzJLld29Sn9XYsPGWYYI=";
};
nativeBuildInputs = [ pkg-config makeWrapper texinfo autoreconfHook ];
propagatedBuildInputs = [ guile flex gtk2 glib gtkextra gettext gawk shared-mime-info groff libstroke ];
propagatedBuildInputs = [ guile flex gtk3 glib gtksheet gettext gawk shared-mime-info groff libstroke ];
configureFlags = [
"--disable-update-xdg-database"
"--with-gtk3"
];
CFLAGS = [

View File

@ -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;
};
})