2023-04-12 16:51:57 -06:00
|
|
|
{ lib, fetchurl, stdenv, unzip, ... }:
|
2022-08-25 12:21:35 -06:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "secretive";
|
|
|
|
version = "2.2.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
name = "Secretive-${version}.zip";
|
|
|
|
url =
|
|
|
|
"https://github.com/maxgoedjen/secretive/releases/download/v${version}/Secretive.zip";
|
|
|
|
hash = "sha256-gjB8bevzbgYZ1GtAVMK+IBp9eP+Y79s8RhK/sdg7AI8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/Applications
|
|
|
|
cp -R ../*.app $out/Applications
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description =
|
|
|
|
"Secretive is an app for storing and managing SSH keys in the Secure Enclave. It is inspired by the sekey project, but rewritten in Swift with no external dependencies and with a handy native management app.";
|
|
|
|
homepage = "https://github.com/maxgoedjen/secretive";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|