Unverified Commit 986a26f4 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

pragtical: 3.5.2 -> 3.6.0 (#425741)

parents c95b7766 d07a03ca
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -15,13 +15,14 @@
  mbedtls_2,
  pcre2,
  SDL2,
  xz,
  zlib,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "pragtical";
  version = "3.5.2";
  pluginManagerVersion = "1.2.9";
  version = "3.6.0";
  pluginManagerVersion = "1.4.0";

  src = fetchFromGitHub {
    owner = "pragtical";
@@ -44,10 +45,13 @@ stdenv.mkDerivation (finalAttrs: {
      find subprojects -type d -name .git -prune -execdir rm -r {} +
    '';

    hash = "sha256-RT+/h5vUILlik/YqcpwgkdOJRmhGBtEHRVynjlHWunw=";
    hash = "sha256-rJEUTLjMTv19W1wSvW2HJaxHrzrBQHiG74v8XlcqgMc=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    lua5_4 # needed for built-time lua bytecode generation
    meson
    ninja
    pkg-config
@@ -63,12 +67,10 @@ stdenv.mkDerivation (finalAttrs: {
    mbedtls_2
    pcre2
    SDL2
    xz
    zlib
  ];

  # workaround for `libmbedx509.so.1, libmbedcrypto.so.7: error adding symbols: DSO missing from command line`
  env.NIX_LDFLAGS = "-lmbedx509 -lmbedcrypto";

  mesonFlags = [ "-Duse_system_lua=true" ];

  meta = {