2021-10-14 00:43:12 +00:00
|
|
|
{ bzip2
|
|
|
|
, fetchurl
|
|
|
|
, glib
|
|
|
|
, gperf
|
|
|
|
, gtk3
|
|
|
|
, judy
|
|
|
|
, lib
|
|
|
|
, pkg-config
|
|
|
|
, stdenv
|
|
|
|
, tcl
|
|
|
|
, tk
|
|
|
|
, wrapGAppsHook
|
|
|
|
, xz
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gtkwave";
|
2021-10-14 00:43:12 +00:00
|
|
|
version = "3.3.111";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-10-14 00:43:12 +00:00
|
|
|
url = "mirror://sourceforge/gtkwave/${pname}-gtk3-${version}.tar.gz";
|
|
|
|
sha256 = "0cv222qhgldfniz6zys52zhrynfsp5v0h8ia857lng7v33vw5qdl";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
2021-10-14 00:43:12 +00:00
|
|
|
buildInputs = [ bzip2 glib gperf gtk3 judy tcl tk xz ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-tcl=${tcl}/lib"
|
|
|
|
"--with-tk=${tk}/lib"
|
|
|
|
"--enable-judy"
|
|
|
|
"--enable-gtk3"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "VCD/Waveform viewer for Unix and Win32";
|
2021-10-14 00:43:12 +00:00
|
|
|
homepage = "http://gtkwave.sourceforge.net";
|
|
|
|
license = lib.licenses.gpl2Plus;
|
2021-01-17 00:15:33 +00:00
|
|
|
maintainers = with lib.maintainers; [ thoughtpolice ];
|
2021-10-14 00:43:12 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|