summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasum Reza <50095635+JohnRTitor@users.noreply.github.com>2024-09-30 18:09:26 +0530
committerGitHub <noreply@github.com>2024-09-30 18:09:26 +0530
commit9603a116b8d554f1912f72ccc66dcdfe70cd2850 (patch)
tree8483e105a8f6e3c14d271b66204316bfa4ccfc59
parent[Backport release-24.05] usage: init at 0.3.1 (#345237) (diff)
parentnvd: switch source repository to Sourcehut (diff)
downloadnixpkgs-9603a116b8d554f1912f72ccc66dcdfe70cd2850.tar.gz
[Backport release-24.05] nvd: switch source repository to Sourcehut (#345406)
-rw-r--r--pkgs/tools/package-management/nvd/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/package-management/nvd/default.nix b/pkgs/tools/package-management/nvd/default.nix
index 8f33b4a5fbfa..f8109f6b70d0 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 ];