From 488841fed56776f1f3c14a45baf2f8f98e33c743 Mon Sep 17 00:00:00 2001 From: Bryan Gardiner Date: Sat, 21 Sep 2024 10:29:11 -0700 Subject: [PATCH] nvd: switch source repository to Sourcehut nvd will be moving from Gitlab to Sourcehut shortly, and the old repository will be archived and removed, before NixOS 24.05 is out of support. --- pkgs/tools/package-management/nvd/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/package-management/nvd/default.nix b/pkgs/tools/package-management/nvd/default.nix index 8f33b4a5fbfa571..f8109f6b70d09a6 100644 --- a/pkgs/tools/package-management/nvd/default.nix +++ b/pkgs/tools/package-management/nvd/default.nix @@ -1,4 +1,4 @@ -{ fetchFromGitLab +{ fetchFromSourcehut , installShellFiles , lib , python3 @@ -9,10 +9,10 @@ stdenv.mkDerivation (finalAttrs: { pname = "nvd"; version = "0.2.3"; - src = fetchFromGitLab { - owner = "khumba"; + src = fetchFromSourcehut { + owner = "~khumba"; repo = "nvd"; - rev = "refs/tags/v${finalAttrs.version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-TmaXsyJLRkmIN9D77jOXd8fLj7kYPCBLg0AHIImAtgA="; }; @@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Nix/NixOS package version diff tool"; - homepage = "https://gitlab.com/khumba/nvd"; + homepage = "https://khumba.net/projects/nvd"; license = lib.licenses.asl20; mainProgram = "nvd"; maintainers = with lib.maintainers; [ khumba ];