diff --git a/pkgs/by-name/cr/criterion/tests/001-version.nix b/pkgs/by-name/cr/criterion/tests/001-version.nix index 25a98b5a0c30..e9cf7278a370 100644 --- a/pkgs/by-name/cr/criterion/tests/001-version.nix +++ b/pkgs/by-name/cr/criterion/tests/001-version.nix @@ -5,7 +5,7 @@ }: stdenv.mkDerivation rec { name = "version-tester"; - version = "v${criterion.version}"; + inherit (criterion) version; src = ./test_dummy.c; dontUnpack = true; diff --git a/pkgs/by-name/do/docker-init/package.nix b/pkgs/by-name/do/docker-init/package.nix index 46b951515d91..279f533da8ab 100644 --- a/pkgs/by-name/do/docker-init/package.nix +++ b/pkgs/by-name/do/docker-init/package.nix @@ -6,7 +6,8 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "docker-init"; - version = "v1.4.0"; + version = "1.4.0"; + tag = "175267"; src = fetchurl { diff --git a/pkgs/by-name/gi/git-together/package.nix b/pkgs/by-name/gi/git-together/package.nix index 2ecb8afd8129..8b56b68280a0 100644 --- a/pkgs/by-name/gi/git-together/package.nix +++ b/pkgs/by-name/gi/git-together/package.nix @@ -10,12 +10,12 @@ rustPlatform.buildRustPackage rec { pname = "git-together"; - version = "v0.1.0-alpha.26"; + version = "0.1.0-alpha.26"; src = fetchFromGitHub { owner = "kejadlen"; repo = "git-together"; - rev = version; + tag = "v${version}"; hash = "sha256-2HgOaqlX0mmmvRlALHm90NAdIhby/jWUJO63bQFqc+4="; }; @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-5LKKjHzIlXw0bUmF7GDCVW0cptCxohq6CNPIrMZKorM="; meta = with lib; { - changelog = "https://github.com/kejadlen/git-together/releases/tag/${src.rev}"; + changelog = "https://github.com/kejadlen/git-together/releases/tag/v${version}"; description = "Better commit attribution while pairing without messing with your git workflow"; homepage = "https://github.com/kejadlen/git-together"; license = licenses.mit; diff --git a/pkgs/by-name/hu/hullcaster/package.nix b/pkgs/by-name/hu/hullcaster/package.nix index 268556d544bb..1fe9c515b884 100644 --- a/pkgs/by-name/hu/hullcaster/package.nix +++ b/pkgs/by-name/hu/hullcaster/package.nix @@ -6,12 +6,12 @@ rustPlatform.buildRustPackage rec { pname = "hullcaster"; - version = "v0.1.2"; + version = "0.1.2"; src = fetchFromGitHub { owner = "gilcu3"; repo = "hullcaster"; - rev = version; + tag = "v${version}"; hash = "sha256-TaELX/xMxm7OTmVnvkgEmdhnVrIlxSNqlE73+I5qxCc="; }; diff --git a/pkgs/by-name/lo/lora/package.nix b/pkgs/by-name/lo/lora/package.nix index a062c11e04d0..590d32405d66 100644 --- a/pkgs/by-name/lo/lora/package.nix +++ b/pkgs/by-name/lo/lora/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -stdenvNoCC.mkDerivation rec { +stdenvNoCC.mkDerivation (finalAttrs: { pname = "lora"; - version = "v3.005"; + version = "3.005"; src = fetchFromGitHub { owner = "cyrealtype"; repo = "lora"; - rev = version; + tag = "v${finalAttrs.version}"; hash = "sha256-EHa8DUPFRvdYBdCY41gfjKGtTHwGIXCwD9Qc+Npmt1s="; }; @@ -30,11 +30,11 @@ stdenvNoCC.mkDerivation rec { runHook postInstall ''; - meta = with lib; { + meta = { description = "Lora is a well-balanced contemporary serif with roots in calligraphy"; homepage = "https://github.com/cyrealtype/lora"; - license = licenses.ofl; - platforms = platforms.all; - maintainers = with maintainers; [ ofalvai ]; + license = lib.licenses.ofl; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ ofalvai ]; }; -} +}) diff --git a/pkgs/by-name/ms/msgraph-cli/package.nix b/pkgs/by-name/ms/msgraph-cli/package.nix index e874a2706c7b..b2e3711a189e 100644 --- a/pkgs/by-name/ms/msgraph-cli/package.nix +++ b/pkgs/by-name/ms/msgraph-cli/package.nix @@ -7,12 +7,12 @@ }: buildDotnetModule rec { pname = "msgraph-cli"; - version = "v1.9.0"; + version = "1.9.0"; src = fetchFromGitHub { owner = "microsoftgraph"; repo = "msgraph-cli"; - rev = version; + tag = "v${version}"; hash = "sha256-bpdxzVlQWQLNYTZHN25S6qa3NKHhDc+xV6NvzSNMVnQ="; }; diff --git a/pkgs/by-name/nc/ncps/package.nix b/pkgs/by-name/nc/ncps/package.nix index b66c1d3ae1f2..be29560ce1a9 100644 --- a/pkgs/by-name/nc/ncps/package.nix +++ b/pkgs/by-name/nc/ncps/package.nix @@ -8,17 +8,17 @@ let finalAttrs = { pname = "ncps"; - version = "v0.1.1"; + version = "0.1.1"; src = fetchFromGitHub { owner = "kalbasit"; repo = "ncps"; - rev = finalAttrs.version; + tag = "v${finalAttrs.version}"; hash = "sha256-Vr/thppCABdZDl1LEc7l7c7Ih55U/EFwJInWSUWoLJA"; }; ldflags = [ - "-X github.com/kalbasit/ncps/cmd.Version=${finalAttrs.version}" + "-X github.com/kalbasit/ncps/cmd.Version=v${finalAttrs.version}" ]; subPackages = [ "." ]; diff --git a/pkgs/by-name/vm/vmctl/package.nix b/pkgs/by-name/vm/vmctl/package.nix index 910ecd5f9d6d..fd6f7a145da6 100644 --- a/pkgs/by-name/vm/vmctl/package.nix +++ b/pkgs/by-name/vm/vmctl/package.nix @@ -16,7 +16,7 @@ stdenvNoCC.mkDerivation { pname = "vmctl"; - version = "v0.99-unstable-2024-05-14"; + version = "0.99-unstable-2024-05-14"; src = fetchFromGitHub { owner = "SamsungDS"; diff --git a/pkgs/desktops/gnome/extensions/extensionOverrides.nix b/pkgs/desktops/gnome/extensions/extensionOverrides.nix index b3f1929c3cef..9b3ca5cd3c5a 100644 --- a/pkgs/desktops/gnome/extensions/extensionOverrides.nix +++ b/pkgs/desktops/gnome/extensions/extensionOverrides.nix @@ -144,9 +144,9 @@ super: lib.trivial.pipe super [ })) (patchExtension "pano@elhan.io" (final: prev: { - version = "v23-alpha3"; + version = "23-alpha3"; src = fetchzip { - url = "https://github.com/oae/gnome-shell-pano/releases/download/${final.version}/pano@elhan.io.zip"; + url = "https://github.com/oae/gnome-shell-pano/releases/download/v${final.version}/pano@elhan.io.zip"; hash = "sha256-LYpxsl/PC8hwz0ZdH5cDdSZPRmkniBPUCqHQxB4KNhc="; stripRoot = false; }; diff --git a/pkgs/development/php-packages/uuid/default.nix b/pkgs/development/php-packages/uuid/default.nix index f3efc0e8792c..0d54c7d07f6f 100644 --- a/pkgs/development/php-packages/uuid/default.nix +++ b/pkgs/development/php-packages/uuid/default.nix @@ -6,7 +6,7 @@ }: let - version = "v1.2.1"; + version = "1.2.1"; in buildPecl { inherit version; @@ -15,7 +15,7 @@ buildPecl { src = fetchFromGitHub { owner = "php"; repo = "pecl-networking-uuid"; - tag = version; + tag = "v${version}"; hash = "sha256-C4SoSKkCTQOLKM1h47vbBgiHTG+ChocDB9tzhWfKUsw="; }; @@ -26,7 +26,7 @@ buildPecl { env.PHP_UUID_DIR = libuuid; meta = { - changelog = "https://github.com/php/pecl-networking-uuid/releases/tag/${version}"; + changelog = "https://github.com/php/pecl-networking-uuid/releases/tag/v${version}"; description = "A wrapper around Universally Unique IDentifier library (libuuid)."; license = lib.licenses.php301; homepage = "https://github.com/php/pecl-networking-uuid"; diff --git a/pkgs/development/python-modules/falconpy/default.nix b/pkgs/development/python-modules/falconpy/default.nix index 3b44df20b090..161ec4a7730e 100644 --- a/pkgs/development/python-modules/falconpy/default.nix +++ b/pkgs/development/python-modules/falconpy/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "falconpy"; - version = "v1.4.6"; + version = "1.4.6"; pyproject = true; src = fetchFromGitHub { owner = "CrowdStrike"; repo = "falconpy"; - tag = version; + tag = "v${version}"; hash = "sha256-boebQI//NenEqctQbEdxiXKU3/07C6jVzWVHecmJjPk="; }; @@ -29,7 +29,7 @@ buildPythonPackage rec { meta = { description = "The CrowdStrike Falcon SDK for Python"; homepage = "https://github.com/CrowdStrike/falconpy"; - changelog = "https://github.com/CrowdStrike/falconpy/releases/tag/${version}"; + changelog = "https://github.com/CrowdStrike/falconpy/releases/tag/v${version}"; license = lib.licenses.unlicense; maintainers = with lib.maintainers; [ levigross ]; }; diff --git a/pkgs/development/tools/misc/gede/default.nix b/pkgs/development/tools/misc/gede/default.nix index dbe1c51b7b1c..f56769a9220b 100644 --- a/pkgs/development/tools/misc/gede/default.nix +++ b/pkgs/development/tools/misc/gede/default.nix @@ -13,12 +13,12 @@ mkDerivation rec { pname = "gede"; - version = "v2.22.1"; + version = "2.22.1"; src = fetchFromGitHub { owner = "jhn98032"; repo = "gede"; - rev = version; + tag = "v${version}"; hash = "sha256-6YSrqLDuV4G/uvtYy4vzbwqrMFftMvZdp3kr3R436rs="; }; diff --git a/pkgs/servers/nosql/influxdb/default.nix b/pkgs/servers/nosql/influxdb/default.nix index d60d167e4d9f..a6f053467a5b 100644 --- a/pkgs/servers/nosql/influxdb/default.nix +++ b/pkgs/servers/nosql/influxdb/default.nix @@ -16,11 +16,11 @@ let # This is copied from influxdb2 with the required flux version flux = rustPlatform.buildRustPackage rec { pname = "libflux"; - version = "v${libflux_version}"; + version = libflux_version; src = fetchFromGitHub { owner = "influxdata"; repo = "flux"; - rev = "v${libflux_version}"; + tag = "v${libflux_version}"; hash = "sha256-XHT/+JMu5q1cPjZT2x/OKEPgxFJcnjrQKqn8w9/Mb3s="; }; patches = [ diff --git a/pkgs/servers/nosql/influxdb2/default.nix b/pkgs/servers/nosql/influxdb2/default.nix index 7fcb072926f6..c90a77f4af36 100644 --- a/pkgs/servers/nosql/influxdb2/default.nix +++ b/pkgs/servers/nosql/influxdb2/default.nix @@ -32,7 +32,7 @@ let flux = rustPlatform.buildRustPackage { pname = "libflux"; - version = "v${libflux_version}"; + version = libflux_version; src = fetchFromGitHub { owner = "influxdata"; repo = "flux";