From 4fc8cd8d356559a5d940fbdec735906b2d1a02d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 21 Dec 2009 10:35:50 +0000 Subject: [PATCH] Adding gtkwave, to view waves generated by ghdl. svn path=/nixpkgs/trunk/; revision=19065 --- .../science/electronics/gtkwave/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/applications/science/electronics/gtkwave/default.nix 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