Commit 981e00ea authored by Doron Behar's avatar Doron Behar
Browse files
parent 5f4e4442
Loading
Loading
Loading
Loading
+2 −22
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch,
  pkg-config,
  autoconf,
  makeDesktopItem,
@@ -102,34 +101,15 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "mlterm";
  version = "3.9.3";
  version = "3.9.4";

  src = fetchFromGitHub {
    owner = "arakiken";
    repo = "mlterm";
    rev = finalAttrs.version;
    sha256 = "sha256-gfs5cdwUUwSBWwJJSaxrQGWJvLkI27RMlk5QvDALEDg=";
    sha256 = "sha256-YogapVTmW4HAyVgvhR4ZvW4Q6v0kGiW11CCxN6SpPCY=";
  };

  patches = [
    (fetchpatch {
      name = "mlterm-configure-implicit-function-declaration.patch";
      url = "https://github.com/arakiken/mlterm/commit/1a9ee97e4574c5892bf12090b812b0538dcdf8f2.patch";
      hash = "sha256-Kk+x5LAq+beZWE8yj5WfdS82ConLSgxNquzQd5mvOA4=";
    })

    (fetchpatch {
      name = "mlterm-wayland-implicit-function-declaration.patch";
      url = "https://github.com/arakiken/mlterm/commit/20ab931d5055dc5835154a75ca672fade478549f.patch";
      hash = "sha256-rDmQ0e3dQD7UAGTX4ljOrDqTTddBqvnnRFnqDjRLAss=";
    })

    (fetchpatch {
      url = "https://salsa.debian.org/debian/mlterm/-/raw/d9b1555e9220985e0c89a6ff5a0d58f7b18cc123/debian/patches/fix-incompat-pointer-types.patch";
      hash = "sha256-EcI15FjQfcN8pcE1MqsBfaHQ4j+gyoeesN/WoHb7WnU=";
    })
  ];

  nativeBuildInputs =
    [
      pkg-config