Commit 9f80ba35 authored by Xiangyan Sun's avatar Xiangyan Sun
Browse files

wml: 2.32.0 -> 2.32.0-unstable-2025-12-23

parent db985dfa
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -31,23 +31,17 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "wml";
  version = "2.32.0";
  version = "2.32.0-unstable-2025-12-23";

  src = fetchFromGitHub {
    owner = "thewml";
    repo = "website-meta-language";
    tag = "releases/wml-${finalAttrs.version}";
    hash = "sha256-9ZiMGm0W2qS/7nL8NsmGBsuB5sNJvWuJaxE7CTdWo6s=";
    rev = "de200ecef0b2a64553799b1d83dfa65580d0bc16";
    hash = "sha256-okeDaCX4Pp5qVFfHmaz+keagX6vgzFTtGoiim/pW6IA=";
  };

  sourceRoot = "${finalAttrs.src.name}/src";

  # https://github.com/thewml/website-meta-language/commit/727806494dcb9d334ffb324aedbf6076e4796299
  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail 'CMAKE_MINIMUM_REQUIRED(VERSION 3.0)' 'CMAKE_MINIMUM_REQUIRED(VERSION 3.15)'
  '';

  nativeBuildInputs = [
    cmake
    lynx
@@ -77,7 +71,7 @@ stdenv.mkDerivation (finalAttrs: {
    description = "Offline HTML preprocessor";
    homepage = "https://www.shlomifish.org/open-source/projects/website-meta-language/";
    downloadPage = "https://github.com/thewml/website-meta-language/releases";
    changelog = "https://github.com/thewml/website-meta-language/blob/${finalAttrs.src.tag}/src/ChangeLog";
    changelog = "https://github.com/thewml/website-meta-language/blob/${finalAttrs.src.rev}/src/ChangeLog";
    license = lib.licenses.gpl2;
    maintainers = with lib.maintainers; [ prince213 ];
    mainProgram = "wml";