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 { stdenvNoCC.mkDerivation rec {
pname = "scheme-manpages"; pname = "scheme-manpages";
version = "unstable-2024-02-11"; version = "0-unstable-2024-02-11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "schemedoc"; owner = "schemedoc";

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -13,7 +13,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "${passthru.prettyName}-unwrapped"; pname = "${passthru.prettyName}-unwrapped";
# nixpkgs-update: no auto update # nixpkgs-update: no auto update
version = "unstable-2023-11-24"; version = "0-unstable-2023-11-24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "open-watcom"; owner = "open-watcom";
@ -89,6 +89,8 @@ stdenv.mkDerivation rec {
prettyName = "open-watcom-v2"; prettyName = "open-watcom-v2";
updateScript = unstableGitUpdater { updateScript = unstableGitUpdater {
url = "https://github.com/open-watcom/open-watcom-v2.git"; 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: { stdenv.mkDerivation (finalAttrs: {
pname = "zig-shell-completions"; pname = "zig-shell-completions";
version = "unstable-2023-11-18"; version = "0-unstable-2023-11-18";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ziglang"; owner = "ziglang";

View file

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

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nelua"; pname = "nelua";
version = "unstable-2024-04-20"; version = "0-unstable-2024-04-20";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "edubart"; owner = "edubart";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
substituteInPlace lualib/nelua/version.lua \ substituteInPlace lualib/nelua/version.lua \
--replace "NELUA_GIT_HASH = nil" "NELUA_GIT_HASH = '${src.rev}'" \ --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)" ]; makeFlags = [ "PREFIX=$(out)" ];
@ -23,7 +23,10 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
passthru.updateScript = unstableGitUpdater { }; passthru.updateScript = unstableGitUpdater {
# no releases, only stale "latest" tag
hardcodeZeroVersion = true;
};
meta = with lib; { 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"; 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 { stdenv.mkDerivation rec {
pname = "slade"; pname = "slade";
version = "unstable-2023-09-30"; version = "3.2.4-unstable-2023-09-30";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sirjuddington"; owner = "sirjuddington";

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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