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

66 lines
973 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
, pkg-config
, 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";
2021-03-09 01:36:55 +00:00
version = "4.3.0";
2015-11-16 21:44:25 +00:00
src = fetchurl {
url = "mirror://sourceforge/pcb/${pname}-${version}.tar.gz";
2021-03-09 01:36:55 +00:00
sha256 = "sha256-roUvRq+Eq6f1HYE/uRb8f82+6kP3E08VBQcCThdD+14=";
2015-11-16 21:44:25 +00:00
};
nativeBuildInputs = [
pkg-config
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 lib; {
2015-11-16 21:44:25 +00:00
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;
};
}