diff options
author | luc65r <lucas@ransan.tk> | 2020-10-31 13:20:43 +0100 |
---|---|---|
committer | Lucas Ransan <lucas@ransan.tk> | 2021-03-08 15:51:27 +0100 |
commit | 2b9f10dbe99cc9cd9af336dccf2afb63e19cddd0 (patch) | |
tree | 7961acfd194577691a278ad93e6b560f47a80ae4 /pkgs/games/eidolon | |
parent | 83a0627f337a47d52d972bb450f1045a7fc55167 (diff) |
Use fetchFromSourcehut
Diffstat (limited to 'pkgs/games/eidolon')
-rw-r--r-- | pkgs/games/eidolon/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/games/eidolon/default.nix b/pkgs/games/eidolon/default.nix index dcb72d53b3285..7112c6bf49c50 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"; }; |