From 09aff6c104eba3f68f0a8054834376db505af62e Mon Sep 17 00:00:00 2001 From: Matthew O'Gorman Date: Mon, 16 Nov 2015 15:44:25 -0600 Subject: [PATCH] pcb: init at 20140316 --- .../science/electronics/pcb/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/applications/science/electronics/pcb/default.nix diff --git a/pkgs/applications/science/electronics/pcb/default.nix b/pkgs/applications/science/electronics/pcb/default.nix new file mode 100644 index 000000000000..257d6993ff59 --- /dev/null +++ b/pkgs/applications/science/electronics/pcb/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, pkgconfig, gtk, bison, intltool, flex, netpbm, imagemagick, dbus, xlibsWrapper, mesa, shared_mime_info, tcl, tk, gnome, pangox_compat, gd, xorg }: + +stdenv.mkDerivation rec { + name = "pcb-${version}"; + version = "20140316"; + + src = fetchurl { + url = "http://ftp.geda-project.org/pcb/pcb-20140316/${name}.tar.gz"; + sha256 = "0l6944hq79qsyp60i5ai02xwyp8l47q7xdm3js0jfkpf72ag7i42"; + }; + + buildInputs = [ pkgconfig gtk bison intltool flex netpbm imagemagick dbus xlibsWrapper mesa tcl shared_mime_info tk gnome.gtkglext pangox_compat gd xorg.libXmu ]; + + configureFlags = ["--disable-update-desktop-database"]; + + meta = with stdenv.lib; { + description = "Printed Circuit Board editor"; + homepage = http://pcb.geda-project.org/; + maintainers = with maintainers; [ mog ]; + platforms = platforms.linux; + license = licenses.gpl2; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b217170baab2..1fb1dbaf3c57 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14845,6 +14845,8 @@ let ngspice = callPackage ../applications/science/electronics/ngspice { }; + pcb = callPackage ../applications/science/electronics/pcb { }; + qucs = callPackage ../applications/science/electronics/qucs { }; xoscope = callPackage ../applications/science/electronics/xoscope { };