Use fetchFromSourcehut

This commit is contained in:
luc65r
2021-03-08 15:51:27 +01:00
committed by Lucas Ransan
parent 83a0627f33
commit 2b9f10dbe9
4 changed files with 21 additions and 15 deletions
+4 -3
View File
@@ -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";
};