Merge pull request #309375 from OPNA2608/fix/stableVersion/pkgs-stuff

treewide: Fix some unstableGitUpdater users
This commit is contained in:
éclairevoyant 2024-05-09 10:03:46 +00:00 committed by GitHub
commit 9f038dd682
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 49 additions and 30 deletions

View file

@ -2,7 +2,7 @@
stdenvNoCC.mkDerivation rec {
pname = "scheme-manpages";
version = "unstable-2024-02-11";
version = "0-unstable-2024-02-11";
src = fetchFromGitHub {
owner = "schemedoc";

View file

@ -2,7 +2,7 @@
let
themeName = "Dracula";
version = "unstable-2024-04-24";
version = "4.0.0-unstable-2024-04-24";
in
stdenvNoCC.mkDerivation {
pname = "dracula-theme";
@ -38,7 +38,9 @@ stdenvNoCC.mkDerivation {
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
passthru.updateScript = unstableGitUpdater {
tagPrefix = "v";
};
meta = with lib; {
description = "Dracula variant of the Ant theme";

View file

@ -17,7 +17,7 @@
mkDerivation rec {
pname = "material-kwin-decoration";
version = "unstable-2023-01-15";
version = "7-unstable-2023-01-15";
src = fetchFromGitHub {
owner = "Zren";
@ -47,7 +47,9 @@ mkDerivation rec {
];
passthru = {
updateScript = unstableGitUpdater { };
updateScript = unstableGitUpdater {
tagPrefix = "v";
};
};
meta = with lib; {

View file

@ -6,7 +6,7 @@
stdenv.mkDerivation {
name = "nixos-bgrt-plymouth";
version = "unstable-2023-03-10";
version = "0-unstable-2023-03-10";
src = fetchFromGitHub {
repo = "plymouth-theme-nixos-bgrt";

View file

@ -8,7 +8,7 @@
stdenv.mkDerivation rec {
pname = "file-roller-contract";
version = "unstable-2021-02-22";
version = "0-unstable-2021-02-22";
src = fetchFromGitHub {
owner = "elementary";

View file

@ -15,7 +15,7 @@
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-ayatana";
version = "unstable-2023-04-18";
version = "2.0.7-unstable-2023-04-18";
src = fetchFromGitHub {
owner = "Lafydev";

View file

@ -15,7 +15,7 @@
stdenv.mkDerivation rec {
pname = "c0";
version = "unstable-2023-09-05";
version = "0-unstable-2023-09-05";
src = fetchFromBitbucket {
owner = "c0-lang";

View file

@ -13,7 +13,7 @@
stdenv.mkDerivation rec {
pname = "${passthru.prettyName}-unwrapped";
# nixpkgs-update: no auto update
version = "unstable-2023-11-24";
version = "0-unstable-2023-11-24";
src = fetchFromGitHub {
owner = "open-watcom";
@ -89,6 +89,8 @@ stdenv.mkDerivation rec {
prettyName = "open-watcom-v2";
updateScript = unstableGitUpdater {
url = "https://github.com/open-watcom/open-watcom-v2.git";
# no numerical releases, monthly "YYYY-MM-DD-Build" tags and daily "Current-build", "Last-CI-build" & "Coverity-scan" retagging
hardcodeZeroVersion = true;
};
};

View file

@ -7,7 +7,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "zig-shell-completions";
version = "unstable-2023-11-18";
version = "0-unstable-2023-11-18";
src = fetchFromGitHub {
owner = "ziglang";

View file

@ -6,7 +6,7 @@
stdenv.mkDerivation {
pname = "femtolisp";
version = "unstable-2023-07-12";
version = "0-unstable-2023-07-12";
src = fetchFromSourcehut {
owner = "~ft";

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "nelua";
version = "unstable-2024-04-20";
version = "0-unstable-2024-04-20";
src = fetchFromGitHub {
owner = "edubart";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace lualib/nelua/version.lua \
--replace "NELUA_GIT_HASH = nil" "NELUA_GIT_HASH = '${src.rev}'" \
--replace "NELUA_GIT_DATE = nil" "NELUA_GIT_DATE = '${lib.removePrefix "unstable-" version}'"
--replace "NELUA_GIT_DATE = nil" "NELUA_GIT_DATE = '${lib.removePrefix "0-unstable-" version}'"
'';
makeFlags = [ "PREFIX=$(out)" ];
@ -23,7 +23,10 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru.updateScript = unstableGitUpdater { };
passthru.updateScript = unstableGitUpdater {
# no releases, only stale "latest" tag
hardcodeZeroVersion = true;
};
meta = with lib; {
description = "Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code";

View file

@ -20,7 +20,7 @@
stdenv.mkDerivation rec {
pname = "slade";
version = "unstable-2023-09-30";
version = "3.2.4-unstable-2023-09-30";
src = fetchFromGitHub {
owner = "sirjuddington";

View file

@ -15,7 +15,7 @@
buildPythonApplication rec {
pname = "nile";
version = "unstable-2024-03-09";
version = "1.0.2-unstable-2024-03-09";
format = "pyproject";
src = fetchFromGitHub {
@ -56,5 +56,7 @@ buildPythonApplication rec {
maintainers = with maintainers; [ aidalgol ];
};
passthru.updateScript = unstableGitUpdater { };
passthru.updateScript = unstableGitUpdater {
tagPrefix = "v";
};
}

View file

@ -6,7 +6,7 @@
buildGoModule {
pname = "bloat";
version = "unstable-2024-02-12";
version = "0-unstable-2024-02-12";
src = fetchgit {
url = "git://git.freesoftwareextremist.com/bloat";

View file

@ -8,7 +8,7 @@
stdenv.mkDerivation rec {
pname = "klipper";
version = "unstable-2024-04-20";
version = "0.12.0-unstable-2024-04-20";
src = fetchFromGitHub {
owner = "KevinOConnor";
@ -63,7 +63,10 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { url = meta.homepage; };
passthru.updateScript = unstableGitUpdater {
url = meta.homepage;
tagPrefix = "v";
};
meta = with lib; {
description = "The Klipper 3D printer firmware";

View file

@ -24,7 +24,7 @@ let
);
in stdenvNoCC.mkDerivation rec {
pname = "moonraker";
version = "unstable-2023-12-27";
version = "0.8.0-unstable-2023-12-27";
src = fetchFromGitHub {
owner = "Arksine";
@ -44,7 +44,10 @@ in stdenvNoCC.mkDerivation rec {
'';
passthru = {
updateScript = unstableGitUpdater { url = meta.homepage; };
updateScript = unstableGitUpdater {
url = meta.homepage;
tagPrefix = "v";
};
tests.moonraker = nixosTests.moonraker;
};

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation {
pname = "pgjwt";
version = "unstable-2023-03-02";
version = "0-unstable-2023-03-02";
src = fetchFromGitHub {
owner = "michelp";

View file

@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
pname = "tds_fdw";
# Move to stable version when it's released.
version = "unstable-2024-02-10";
version = "2.0.3-unstable-2024-02-10";
buildInputs = [ postgresql freetds ];
@ -21,7 +21,9 @@ stdenv.mkDerivation rec {
install -D tds_fdw.control -t $out/share/postgresql/extension
'';
passthru.updateScript = unstableGitUpdater { };
passthru.updateScript = unstableGitUpdater {
tagPrefix = "v";
};
meta = with lib; {
description = "A PostgreSQL foreign data wrapper to connect to TDS databases (Sybase and Microsoft SQL Server)";

View file

@ -9,7 +9,7 @@
rustPlatform.buildRustPackage {
pname = "nu-plugin-net";
version = "unstable-2024-04-05";
version = "0-unstable-2024-04-05";
src = fetchFromGitHub {
owner = "fennewald";
@ -18,7 +18,7 @@ rustPlatform.buildRustPackage {
hash = "sha256-uKLYTRR2tThSvwWbvEePOLZ9ehNPfCYruZxTKSIxpEA=";
};
cargoHash = "sha256-2A9RalZhXigLq/6w738G6PnkV3FyK+3HHXPDQRHTIm0=";
cargoHash = "sha256-BsCOej31vfTf+Wca4+AjxkhXz6wpMRFJmGBsUqOj2U0=";
nativeBuildInputs = [
rustPlatform.bindgenHook

View file

@ -8,7 +8,7 @@
stdenv.mkDerivation {
pname = "rc-9front";
version = "unstable-2022-11-01";
version = "0-unstable-2022-11-01";
src = fetchFrom9Front {
domain = "shithub.us";

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "zsh-prezto";
version = "unstable-2024-04-15";
version = "0-unstable-2024-04-15";
src = fetchFromGitHub {
owner = "sorin-ionescu";