diff --git a/pkgs/applications/science/electronics/gtkwave/default.nix b/pkgs/applications/science/electronics/gtkwave/default.nix new file mode 100644 index 000000000000..c6256103d070 --- /dev/null +++ b/pkgs/applications/science/electronics/gtkwave/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchurl, gtk, gperf, pkgconfig, bzip2} : +stdenv.mkDerivation rec { + name = "gtkwave-3.2.3"; + + src = fetchurl { + url = "mirror://sourceforge/gtkwave/${name}.tar.gz"; + sha256 = "1ym8fw6cv76gn80qzh6a5y7gikqgnz65hwy0cp6p6h18i5ghgfs0"; + }; + + buildInputs = [ gtk gperf pkgconfig bzip2 ]; + + meta = { + description = "Wave viewer for Unix and Win32"; + homepage = http://gtkwave.sourceforge.net; + license = "GPLv2+"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 114dfa67749d..39a77600e7d5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8155,6 +8155,10 @@ let inherit fetchurl stdenv readline; }; + gtkwave = import ../applications/science/electronics/gtkwave { + inherit fetchurl stdenv gperf pkgconfig bzip2; + inherit (gtkLibs) gtk; + }; ### SCIENCE / MATH