Unverified Commit 83203cc9 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents aa48368a 6bfb89b8
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
{
  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;