Skip to content

Commit

Permalink
Merge pull request #172170 from a-m-joseph/pr/fix-pcb2gcode
Browse files Browse the repository at this point in the history
pcb2gcode: cherry-pick patch from upstream to fix build
  • Loading branch information
davidak authored May 9, 2022
2 parents 0bc16c7 + 0fc95f6 commit cce079a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/tools/misc/pcb2gcode/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
, gerbv
, librsvg
, bash
, fetchpatch
}:

stdenv.mkDerivation rec {
Expand All @@ -22,6 +23,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-3VQlYtSi6yWWNuxTlBzvBtkM5hAss47xat+sEW+P79E=";
};

patches = [
# the patch below is part of upstream mainline, we can remove this
# when they make their next release
(fetchpatch {
url = "https://github.com/pcb2gcode/pcb2gcode/commit/01cd18a6d859ab1aac6c532c99be9109f083448d.patch";
sha256 = "sha256-5hl8KsDxSWMzXS3oRG0fBfHFq0IpZ//sU8lfY9Yp8L0=";
})
];

nativeBuildInputs = [ autoreconfHook pkg-config ];

buildInputs = [ boost glibmm gtkmm2 gerbv librsvg ];
Expand Down

0 comments on commit cce079a

Please sign in to comment.