Commit 819d75ce authored by magicquark's avatar magicquark
Browse files
parent acba5bb5
Loading
Loading
Loading
Loading
+6 −16
Original line number Diff line number Diff line
@@ -2,32 +2,28 @@
  lib,
  stdenv,
  fetchFromGitHub,
  autoconf,
  automake,
  libtool,
  which,
  pkg-config,
  gtk3,
  lib3270,
  meson,
  ninja,
}:

stdenv.mkDerivation rec {
  pname = "libv3270";
  version = "5.4";
  version = "5.5.0";

  src = fetchFromGitHub {
    owner = "PerryWerneck";
    repo = "libv3270";
    rev = version;
    hash = "sha256-Z3FvxPa1pfeECxfB5ZL6gwhkbTKFpfO3D/zLVLF+uiI=";
    hash = "sha256-Cn/to1/7mH1Ygjcx12mMf52PTcz4smy/+bwWH1mbT9s=";
  };

  nativeBuildInputs = [
    which
    pkg-config
    autoconf
    automake
    libtool
    meson
    ninja
  ];

  buildInputs = [
@@ -42,12 +38,6 @@ stdenv.mkDerivation rec {
    done
  '';

  preConfigure = ''
    mkdir -p scripts
    touch scripts/config.rpath
    NOCONFIGURE=1 sh ./autogen.sh
  '';

  enableParallelBuilding = true;

  meta = with lib; {