Unverified Commit d8012340 authored by Ben Siraphob's avatar Ben Siraphob Committed by GitHub
Browse files

Merge pull request #285622 from siraben/z88dk-update

z88dk: 2.2 -> 2.3
parents 93307a46 1f1d9777
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
{ fetchFromGitHub, lib, stdenv, makeWrapper, unzip, libxml2, m4, uthash, which }:
{ fetchFromGitHub, lib, stdenv, makeWrapper, unzip, libxml2, gmp, m4, uthash, which, pkg-config }:

stdenv.mkDerivation rec {
  pname = "z88dk";
  version = "2.2";
  version = "2.3";

  src = fetchFromGitHub {
    owner = "z88dk";
    repo = "z88dk";
    rev = "v${version}";
    sha256 = "sha256-vf/hEmcl6R3nsc66G6eETNeW0SV/odk14XIpEPPAbKo=";
    sha256 = "sha256-CHTORgK6FYIO6n+cvTUX4huY2Ek5FuHrs40QN5NZX44=";
    fetchSubmodules = true;
  };

@@ -40,8 +40,8 @@ stdenv.mkDerivation rec {
    "git_count=0"
  ];

  nativeBuildInputs = [ which makeWrapper unzip ];
  buildInputs = [ libxml2 m4 uthash ];
  nativeBuildInputs = [ which makeWrapper unzip pkg-config ];
  buildInputs = [ libxml2 m4 uthash gmp ];

  preInstall = ''
    mkdir -p $out/{bin,share}