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

66 lines
972 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 12:49:52 +01:00
}:
2015-11-16 22:44:25 +01:00
stdenv.mkDerivation rec {
pname = "pcb";
2020-02-09 04:37:30 +01:00
version = "4.2.2";
2015-11-16 22:44:25 +01:00
src = fetchurl {
url = "mirror://sourceforge/pcb/${pname}-${version}.tar.gz";
2020-02-09 04:37:30 +01:00
sha256 = "0pbfyfadbia1jf9ywkf02j8mfdh8c3mj390c2jdqnl70vcdszvhw";
2015-11-16 22:44:25 +01:00
};
nativeBuildInputs = [
pkgconfig
bison
intltool
flex
netpbm
imagemagick
];
2018-03-05 12:49:52 +01:00
buildInputs = [
gtk2
dbus
xlibsWrapper
libGLU
libGL
tcl
shared-mime-info
tk
gnome2.gtkglext
gd
xorg.libXmu
2018-03-05 12:49:52 +01:00
];
2015-11-16 22:44:25 +01:00
configureFlags = [
"--disable-update-desktop-database"
];
2015-11-16 22:44:25 +01:00
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;
};
}