summary refs log tree commit diff
path: root/pkgs/games/eidolon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/eidolon/default.nix')
-rw-r--r--pkgs/games/eidolon/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/games/eidolon/default.nix b/pkgs/games/eidolon/default.nix
index dcb72d53b32..7112c6bf49c 100644
--- a/pkgs/games/eidolon/default.nix
+++ b/pkgs/games/eidolon/default.nix
@@ -1,11 +1,12 @@
-{ lib, fetchgit, rustPlatform, pkg-config, openssl }:
+{ lib, fetchFromSourcehut, rustPlatform, pkg-config, openssl }:
 
 rustPlatform.buildRustPackage rec {
   pname = "eidolon";
   version = "1.4.6";
 
-  src = fetchgit {
-    url = "https://git.sr.ht/~nicohman/eidolon";
+  src = fetchFromSourcehut {
+    owner = "~nicohman";
+    repo = pname;
     rev = version;
     sha256 = "1yn3k569pxzw43mmsk97088xpkdc714rks3ncchbb6ccx25kgxrr";
   };