gen-oath-safe: change 404 src to point to sourcehut (#472882)

This commit is contained in:
Aleksana
2025-12-21 11:35:44 +00:00
committed by GitHub
+6 -6
View File
@@ -1,6 +1,6 @@
{
coreutils,
fetchFromGitHub,
fetchFromSourcehut,
file,
libcaca,
makeWrapper,
@@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "gen-oath-safe";
version = "0.11.0";
src = fetchFromGitHub {
owner = "mcepl";
src = fetchFromSourcehut {
owner = "~mcepl";
repo = "gen-oath-safe";
rev = version;
tag = version;
sha256 = "1914z0jgj7lni0nf3hslkjgkv87mhxdr92cmhmbzhpjgjgr23ydp";
};
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
--prefix PATH : ${path}
'';
meta = {
homepage = "https://github.com/mcepl/gen-oath-safe";
homepage = "https://git.sr.ht/~mcepl/gen-oath-safe";
description = "Script for generating HOTP/TOTP keys (and QR code)";
platforms = lib.platforms.unix;
license = lib.licenses.mit;