Merge pull request #235127 from r-ryantm/auto-update/gerbv

gerbv: 2.9.6 -> 2.9.7
This commit is contained in:
Fabian Affolter
2023-05-31 12:32:39 +02:00
committed by GitHub
@@ -1,31 +1,55 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, gettext, libtool, automake, autoconf, cairo, gtk2-x11, autoreconfHook }:
{ lib
, stdenv
, autoconf
, automake
, autoreconfHook
, cairo
, fetchFromGitHub
, gettext
, gtk2-x11
, libtool
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "gerbv";
version = "2.9.6";
version = "2.9.7";
src = fetchFromGitHub {
owner = "gerbv";
repo = pname;
rev = "v${version}";
hash = "sha256-HNhrnXOBlzfO/roWzTsg0RcJPb0c7RuJepankB5zNts=";
rev = "refs/tags/v${version}";
hash = "sha256-KxKNMWhWwmlIpueDOSWAWADEHFha8axywPJ6rRz0jIg=";
};
postPatch = ''
sed -i '/AC_INIT/s/m4_esyscmd.*/${version}])/' configure.ac
'';
nativeBuildInputs = [ autoreconfHook pkg-config automake autoconf ];
buildInputs = [ gettext libtool cairo gtk2-x11 ];
nativeBuildInputs = [
autoconf
automake
autoreconfHook
pkg-config
];
configureFlags = ["--disable-update-desktop-database"];
buildInputs = [
cairo
gettext
gtk2-x11
libtool
];
configureFlags = [
"--disable-update-desktop-database"
];
meta = with lib; {
description = "A Gerber (RS-274X) viewer";
homepage = "https://gerbv.github.io/";
changelog = "https://github.com/gerbv/gerbv/releases/tag/v${version}";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ mog ];
platforms = platforms.unix;
license = licenses.gpl2;
};
}