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

32 lines
941 B
Nix
Raw Normal View History

2018-03-05 11:49:52 +00:00
{ stdenv, fetchurl, pkgconfig, gtk2, bison, intltool, flex
2019-11-10 16:44:34 +00:00
, netpbm, imagemagick, dbus, xlibsWrapper, libGLU, libGL
2018-03-05 11:49:52 +00:00
, shared-mime-info, tcl, tk, gnome2, pangox_compat, gd, xorg
}:
2015-11-16 21:44:25 +00:00
stdenv.mkDerivation rec {
pname = "pcb";
2015-11-16 21:44:25 +00:00
version = "20140316";
src = fetchurl {
url = "http://ftp.geda-project.org/pcb/pcb-20140316/${pname}-${version}.tar.gz";
2015-11-16 21:44:25 +00:00
sha256 = "0l6944hq79qsyp60i5ai02xwyp8l47q7xdm3js0jfkpf72ag7i42";
};
nativeBuildInputs = [ pkgconfig ];
2018-03-05 11:49:52 +00:00
buildInputs = [
gtk2 bison intltool flex netpbm imagemagick dbus xlibsWrapper
2019-11-10 16:44:34 +00:00
libGLU libGL tcl shared-mime-info tk
2018-03-05 11:49:52 +00:00
gnome2.gtkglext pangox_compat gd xorg.libXmu
];
2015-11-16 21:44:25 +00:00
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;
};
}