2019-12-18 23:27:34 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkgconfig
|
|
|
|
, gtk2
|
|
|
|
, bison
|
|
|
|
, intltool
|
|
|
|
, flex
|
|
|
|
, netpbm
|
|
|
|
, imagemagick
|
|
|
|
, dbus
|
|
|
|
, xlibsWrapper
|
|
|
|
, libGLU
|
|
|
|
, libGL
|
|
|
|
, shared-mime-info
|
|
|
|
, tcl
|
|
|
|
, tk
|
|
|
|
, gnome2
|
|
|
|
, gd
|
|
|
|
, xorg
|
2018-03-05 11:49:52 +00:00
|
|
|
}:
|
2015-11-16 21:44:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pcb";
|
2020-02-09 03:37:30 +00:00
|
|
|
version = "4.2.2";
|
2015-11-16 21:44:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-18 23:27:34 +00:00
|
|
|
url = "mirror://sourceforge/pcb/${pname}-${version}.tar.gz";
|
2020-02-09 03:37:30 +00:00
|
|
|
sha256 = "0pbfyfadbia1jf9ywkf02j8mfdh8c3mj390c2jdqnl70vcdszvhw";
|
2015-11-16 21:44:25 +00:00
|
|
|
};
|
|
|
|
|
2019-12-18 23:27:34 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
bison
|
|
|
|
intltool
|
|
|
|
flex
|
|
|
|
netpbm
|
|
|
|
imagemagick
|
|
|
|
];
|
|
|
|
|
2018-03-05 11:49:52 +00:00
|
|
|
buildInputs = [
|
2019-12-18 23:27:34 +00:00
|
|
|
gtk2
|
|
|
|
dbus
|
|
|
|
xlibsWrapper
|
|
|
|
libGLU
|
|
|
|
libGL
|
|
|
|
tcl
|
|
|
|
shared-mime-info
|
|
|
|
tk
|
|
|
|
gnome2.gtkglext
|
|
|
|
gd
|
|
|
|
xorg.libXmu
|
2018-03-05 11:49:52 +00:00
|
|
|
];
|
2015-11-16 21:44:25 +00:00
|
|
|
|
2019-12-18 23:27:34 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-update-desktop-database"
|
|
|
|
];
|
2015-11-16 21:44:25 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Printed Circuit Board editor";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://pcb.geda-project.org/";
|
2015-11-16 21:44:25 +00:00
|
|
|
maintainers = with maintainers; [ mog ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|