3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/electronics/pcb/default.nix

66 lines
974 B
Nix
Raw Normal View History

{ 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 {
pname = "pcb";
2020-02-09 03:37:30 +00:00
version = "4.2.2";
2015-11-16 21:44:25 +00:00
src = fetchurl {
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
};
nativeBuildInputs = [
pkgconfig
bison
intltool
flex
netpbm
imagemagick
];
2018-03-05 11:49:52 +00:00
buildInputs = [
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
configureFlags = [
"--disable-update-desktop-database"
];
2015-11-16 21:44:25 +00:00
meta = with stdenv.lib; {
description = "Printed Circuit Board editor";
homepage = "http://pcb.geda-project.org/";
2015-11-16 21:44:25 +00:00
maintainers = with maintainers; [ mog ];
platforms = platforms.linux;
license = licenses.gpl2;
};
}