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

25 lines
906 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gtk2, bison, intltool, flex, netpbm, imagemagick, dbus, xlibsWrapper, mesa, shared_mime_info, tcl, tk, gnome2, pangox_compat, gd, xorg }:
2015-11-16 22:44:25 +01:00
stdenv.mkDerivation rec {
name = "pcb-${version}";
version = "20140316";
src = fetchurl {
url = "http://ftp.geda-project.org/pcb/pcb-20140316/${name}.tar.gz";
sha256 = "0l6944hq79qsyp60i5ai02xwyp8l47q7xdm3js0jfkpf72ag7i42";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 bison intltool flex netpbm imagemagick dbus xlibsWrapper mesa tcl shared_mime_info tk gnome2.gtkglext pangox_compat gd xorg.libXmu ];
2015-11-16 22:44:25 +01:00
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;
};
}