Unverified Commit a85613a1 authored by éclairevoyant's avatar éclairevoyant Committed by GitHub
Browse files

Merge pull request #309659 from OPNA2608/fix/stableVersion/pkgs-libraries

pkgs/development/libraries: Fix some unstableGitUpdater users
parents ad7efee1 52a5da6a
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; {
+4 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

stdenv.mkDerivation rec {
  pname = "crossguid";
  version = "unstable-2019-05-29";
  version = "0.2.2-unstable-2019-05-29";

  src = fetchFromGitHub {
    owner = "graeme-hill";
@@ -24,7 +24,9 @@ stdenv.mkDerivation rec {
  nativeBuildInputs = [ cmake ];
  buildInputs = lib.optional stdenv.isLinux libuuid;

  passthru.updateScript = unstableGitUpdater { };
  passthru.updateScript = unstableGitUpdater {
    tagPrefix = "v";
  };

  meta = with lib; {
    description = "Lightweight cross platform C++ GUID/UUID library";
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

stdenv.mkDerivation rec {
  pname = "gl3w";
  version = "unstable-2023-10-10";
  version = "0-unstable-2023-10-10";

  src = fetchFromGitHub {
    owner = "skaslev";
+4 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@

stdenv.mkDerivation rec {
  pname = "gtk-frdp";
  version = "unstable-2024-03-01";
  version = "3.37.1-unstable-2024-03-01";

  src = fetchFromGitLab {
    domain = "gitlab.gnome.org";
@@ -41,7 +41,9 @@ stdenv.mkDerivation rec {
  ];

  passthru = {
    updateScript = unstableGitUpdater { };
    updateScript = unstableGitUpdater {
      tagPrefix = "v";
    };
  };

  env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

multiStdenv.mkDerivation (finalAttrs: {
  pname = "hax11";
  version = "unstable-2023-09-25";
  version = "0-unstable-2023-09-25";

  src = fetchFromGitHub {
    owner = "CyberShadow";
Loading