nixpkgs/pkgs/applications/science/electronics/gtkwave/default.nix

25 lines
771 B
Nix
Raw Normal View History

{stdenv, fetchurl, gtk2, gperf, pkgconfig, bzip2, tcl, tk, judy, xz}:
stdenv.mkDerivation rec {
name = "gtkwave-${version}";
version = "3.3.97";
src = fetchurl {
url = "mirror://sourceforge/gtkwave/${name}.tar.gz";
sha256 = "0jy5qk0b0np9xsxgnvv8jjgyw81l170wrm5q04qs48wpw7d0rm3v";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 gperf bzip2 tcl tk judy xz ];
configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" "--enable-judy" ];
meta = {
description = "VCD/Waveform viewer for Unix and Win32";
homepage = http://gtkwave.sourceforge.net;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
platforms = stdenv.lib.platforms.linux;
};
}