nixpkgs/pkgs/applications/science/electronics/pcb/default.nix
2020-04-10 17:54:53 +01:00

66 lines
974 B
Nix

{ stdenv
, fetchurl
, pkgconfig
, gtk2
, bison
, intltool
, flex
, netpbm
, imagemagick
, dbus
, xlibsWrapper
, libGLU
, libGL
, shared-mime-info
, tcl
, tk
, gnome2
, gd
, xorg
}:
stdenv.mkDerivation rec {
pname = "pcb";
version = "4.2.2";
src = fetchurl {
url = "mirror://sourceforge/pcb/${pname}-${version}.tar.gz";
sha256 = "0pbfyfadbia1jf9ywkf02j8mfdh8c3mj390c2jdqnl70vcdszvhw";
};
nativeBuildInputs = [
pkgconfig
bison
intltool
flex
netpbm
imagemagick
];
buildInputs = [
gtk2
dbus
xlibsWrapper
libGLU
libGL
tcl
shared-mime-info
tk
gnome2.gtkglext
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;
};
}