Unverified Commit b6dfb522 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #261588 from wegank/geda-xorn

geda: drop xorn
parents 326976a6 773a8314
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, groff, pkg-config, python2, guile, gtk2, flex, gawk, perl }:
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook, groff, pkg-config, guile, gtk2, flex, gawk, perl }:

stdenv.mkDerivation rec {
  pname = "geda";
@@ -9,12 +9,20 @@ stdenv.mkDerivation rec {
    hash = "sha256-6GKrJBUoU4+jvuJzkmH1aAERArYMXjmi8DWGY8BCyKQ=";
  };

  patches = [
    (fetchpatch {
      name = "geda-1.10.2-drop-xorn.patch";
      url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sci-electronics/geda/files/geda-1.10.2-drop-xorn.patch?id=5589cc7bc6c4f18f75c40725a550b8d76e7f5ca1";
      hash = "sha256-jPQaHjEDwCEfZqDGku+xyIMl5WlWlVcpPv1W6Xf8Grs=";
    })
  ];

  configureFlags = [
    "--disable-update-xdg-database"
    "--without-libfam"
  ];

  nativeBuildInputs = [ groff pkg-config python2 ];
  nativeBuildInputs = [ autoreconfHook groff pkg-config ];
  buildInputs = [ guile gtk2 flex gawk perl ];

  meta = with lib; {