Commit e72e5aca authored by OPNA2608's avatar OPNA2608
Browse files

cegui: unstable-2023-03-18 -> 0-unstable-2023-03-18

Not really correct, but the updater can't see the correct upstream tags on the used branch.
parent dd1290b0
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, writeShellScript
, cmake
, ogre
, freetype
@@ -13,7 +14,7 @@

stdenv.mkDerivation {
  pname = "cegui";
  version = "unstable-2023-03-18";
  version = "0-unstable-2023-03-18";

  src = fetchFromGitHub {
    owner = "paroj";
@@ -47,6 +48,12 @@ stdenv.mkDerivation {

  passthru.updateScript = unstableGitUpdater {
    branch = "v0";
    # The above branch is separate from the branch with the latest tags, so the updater doesn't pick them up
    # This is what would be used to handle upstream's format, if it was able to see the tags
    # tagConverter = writeShellScript "cegui-tag-converter.sh" ''
    #   sed -e 's/^v//g' -e 's/-/./g'
    # '';
    hardcodeZeroVersion = true;
  };

  meta = with lib; {