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, 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";
};