From 9fc486d67fa71929aa9440aa9a6b87114103c72d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 13 Mar 2021 12:28:48 +0100 Subject: [PATCH] caerbannog: use fetchFromSourcehut --- pkgs/applications/misc/caerbannog/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/caerbannog/default.nix b/pkgs/applications/misc/caerbannog/default.nix index 451980352c23..6f4558b868fa 100644 --- a/pkgs/applications/misc/caerbannog/default.nix +++ b/pkgs/applications/misc/caerbannog/default.nix @@ -1,5 +1,5 @@ { lib -, fetchgit +, fetchFromSourcehut , python3 , glib , gobject-introspection @@ -18,8 +18,9 @@ python3.pkgs.buildPythonApplication rec { version = "0.3"; format = "other"; - src = fetchgit { - url = "https://git.sr.ht/~craftyguy/caerbannog"; + src = fetchFromSourcehut { + owner = "~craftyguy"; + repo = "caerbannog"; rev = version; sha256 = "0wqkb9zcllxm3fdsr5lphknkzy8r1cr80f84q200hbi99qql1dxh"; };