mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 07:04:25 +00:00
Merge pull request #226929 from cransom/pcb2gcode-darwin
pcb2gcode: fix build on darwin
This commit is contained in:
commit
17148b8f7d
@ -1,13 +1,12 @@
|
|||||||
{ lib, stdenv, fetchgit, fetchpatch, pkg-config, gettext, libtool, automake, autoconf, cairo, gtk2, autoreconfHook }:
|
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, gettext, libtool, automake, autoconf, cairo, gtk2-x11, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gerbv";
|
pname = "gerbv";
|
||||||
version = "2015-10-08";
|
version = "2.7.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
url = "git://git.geda-project.org/gerbv.git";
|
url = "mirror://sourceforge/gerbv/${pname}-${version}.tar.gz";
|
||||||
rev = "76b8b67bfa10823ce98f1c4c3b49a2afcadf7659";
|
sha256 = "sha256-xe6AjEIwzmvjrRCrY8VHCYOG1DAicE3iXduTeOYgU7Q=";
|
||||||
sha256 = "00jn1xhf6kblxc5gac1wvk8zm12fy6sk81nj3jwdag0z6wk3z446";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -21,15 +20,17 @@ stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config automake autoconf ];
|
nativeBuildInputs = [ autoreconfHook pkg-config automake autoconf ];
|
||||||
buildInputs = [ gettext libtool cairo gtk2 ];
|
buildInputs = [ gettext libtool cairo gtk2-x11 ];
|
||||||
|
|
||||||
configureFlags = ["--disable-update-desktop-database"];
|
configureFlags = ["--disable-update-desktop-database"];
|
||||||
|
|
||||||
|
env.NIX_CFLAGS_COMPILE = "-Wno-format-security";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Gerber (RS-274X) viewer";
|
description = "A Gerber (RS-274X) viewer";
|
||||||
homepage = "http://gerbv.geda-project.org/";
|
homepage = "http://gerbv.geda-project.org/";
|
||||||
maintainers = with maintainers; [ mog ];
|
maintainers = with maintainers; [ mog ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -51,6 +51,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://github.com/pcb2gcode/pcb2gcode";
|
homepage = "https://github.com/pcb2gcode/pcb2gcode";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ kritnich ];
|
maintainers = with maintainers; [ kritnich ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -37859,7 +37859,9 @@ with pkgs;
|
|||||||
guile = guile_2_0;
|
guile = guile_2_0;
|
||||||
};
|
};
|
||||||
|
|
||||||
gerbv = callPackage ../applications/science/electronics/gerbv { };
|
gerbv = callPackage ../applications/science/electronics/gerbv {
|
||||||
|
cairo = cairo.override { x11Support = true; };
|
||||||
|
};
|
||||||
|
|
||||||
gtkwave = callPackage ../applications/science/electronics/gtkwave { };
|
gtkwave = callPackage ../applications/science/electronics/gtkwave { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user