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 | |
parent | 83a0627f337a47d52d972bb450f1045a7fc55167 (diff) |
Use fetchFromSourcehut
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/among-sus/default.nix | 7 | ||||
-rw-r--r-- | pkgs/games/eidolon/default.nix | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/games/among-sus/default.nix b/pkgs/games/among-sus/default.nix index 1ec0a42ea18e..454c7d181f95 100644 --- a/pkgs/games/among-sus/default.nix +++ b/pkgs/games/among-sus/default.nix @@ -1,11 +1,12 @@ -{ lib, stdenv, fetchgit, port ? "1234" }: +{ lib, stdenv, fetchFromSourcehut, port ? "1234" }: stdenv.mkDerivation { pname = "among-sus-unstable"; version = "2020-10-29"; - src = fetchgit { - url = "https://git.sr.ht/~martijnbraam/among-sus"; + src = fetchFromSourcehut { + owner = "~martijnbraam"; + repo = "among-sus"; rev = "1f4c8d800d025d36ac66826937161be3252fbc57"; sha256 = "19jq7ygh9l11dl1h6702bg57m04y35nqd6yqx1rgp1kxwhp45xyh"; }; diff --git a/pkgs/games/eidolon/default.nix b/pkgs/games/eidolon/default.nix index dcb72d53b328..7112c6bf49c5 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"; }; |