summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/gen-oath-safe
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/5pkgs/gen-oath-safe')
-rw-r--r--makefu/5pkgs/gen-oath-safe/default.nix37
1 files changed, 0 insertions, 37 deletions
diff --git a/makefu/5pkgs/gen-oath-safe/default.nix b/makefu/5pkgs/gen-oath-safe/default.nix
deleted file mode 100644
index bdd48f407..000000000
--- a/makefu/5pkgs/gen-oath-safe/default.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ coreutils, makeWrapper, openssl, libcaca, qrencode, fetchFromGitHub, yubikey-manager, python, stdenv, lib, ... }:
-
-stdenv.mkDerivation {
- name = "gen-oath-safe-2017-06-30";
- src = fetchFromGitHub {
- owner = "mcepl";
- repo = "gen-oath-safe";
- rev = "fb53841";
- sha256 = "0018kqmhg0861r5xkbis2a1rx49gyn0dxcyj05wap5ms7zz69m0m";
- };
-
- phases = [
- "unpackPhase"
- "installPhase"
- "fixupPhase"
- ];
-
- buildInputs = [ makeWrapper ];
-
- installPhase =
- let
- path = lib.makeBinPath [
- coreutils
- openssl
- qrencode
- yubikey-manager
- libcaca
- python
- ];
- in
- ''
- mkdir -p $out/bin
- cp gen-oath-safe $out/bin/
- wrapProgram $out/bin/gen-oath-safe \
- --prefix PATH : ${path}
- '';
-}