about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2022-03-08 14:46:56 +0100
committerFelix Buehler <account@buehler.rocks>2022-03-14 19:32:48 +0100
commitc3d260d8d8f1b5d603f473aac87641beb3948b96 (patch)
treebcd83a0433e8692a2c0f8958ddc2a2c0107c81ea
parent7b4607f83fd9ff54d34d40d18171d0f274b025b4 (diff)
bud: switch to fetchFromGitHub
-rw-r--r--pkgs/tools/networking/bud/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/tools/networking/bud/default.nix b/pkgs/tools/networking/bud/default.nix
index 7a4bd5adcba0b..3fa3988dfa073 100644
--- a/pkgs/tools/networking/bud/default.nix
+++ b/pkgs/tools/networking/bud/default.nix
@@ -1,14 +1,15 @@
-{ stdenv, lib, fetchgit, python2, util-linux }:
+{ stdenv, lib, fetchFromGitHub, python2, util-linux }:
 
 stdenv.mkDerivation {
   pname = "bud";
-
   version = "0.34.1";
 
-  src = fetchgit {
-    url = "https://github.com/indutny/bud.git";
+  src = fetchFromGitHub {
+    owner = "indutny";
+    repo = "bud";
     rev = "b112852c9667632f692d2ce3dcd9a8312b61155a";
-    sha256 = "08yr6l4lc2m6rng06253fcaznf6sq0v053wfr8bbym42c32z0xdh";
+    sha256 = "sha256-sHXwxWCCVL8Wyo6PAjbA2jj7FXOjCAOezaYKRgk12SM=";
+    fetchSubmodules = true;
   };
 
   nativeBuildInputs = [