summary refs log tree commit diff
path: root/pkgs/applications/science/electronics/pcb/default.nix
blob: 7514aed9f243a4d53d5a773869a2a8768c373e15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, fetchurl, pkgconfig, gtk2, bison, intltool, flex
, netpbm, imagemagick, dbus, xlibsWrapper, libGLU_combined
, shared-mime-info, tcl, tk, gnome2, pangox_compat, gd, xorg
}:

stdenv.mkDerivation rec {
  pname = "pcb";
  version = "20140316";

  src = fetchurl {
    url = "http://ftp.geda-project.org/pcb/pcb-20140316/${pname}-${version}.tar.gz";
    sha256 = "0l6944hq79qsyp60i5ai02xwyp8l47q7xdm3js0jfkpf72ag7i42";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [
    gtk2 bison intltool flex netpbm imagemagick dbus xlibsWrapper
    libGLU_combined tcl shared-mime-info tk
    gnome2.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;
  };
}