2017-03-10 15:36:36 +00:00
|
|
|
{ stdenv, buildEnv, fetchzip, mono }:
|
|
|
|
|
|
|
|
let
|
2018-08-09 20:15:44 +01:00
|
|
|
version = "0.10.1";
|
2017-03-10 15:36:36 +00:00
|
|
|
drv = stdenv.mkDerivation {
|
|
|
|
name = "keeagent-${version}";
|
|
|
|
|
|
|
|
src = fetchzip {
|
2018-08-09 20:15:44 +01:00
|
|
|
url = "https://lechnology.com/wp-content/uploads/2018/04/KeeAgent_v0.10.1.zip";
|
|
|
|
sha256 = "0j7az6l9wcr8z66mfplkxwydd4bgz2p2vd69xncf0nxlfb0lshh7";
|
2017-03-10 15:36:36 +00:00
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KeePass plugin to allow other programs to access SSH keys stored in a KeePass database for authentication";
|
2018-08-09 20:15:44 +01:00
|
|
|
homepage = "http://lechnology.com/software/keeagent";
|
2017-03-10 15:36:36 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
|
|
|
|
pluginFilename = "KeeAgent.plgx";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib/dotnet/keepass/
|
|
|
|
cp $pluginFilename $out/lib/dotnet/keepass/$pluginFilename
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
in
|
|
|
|
# Mono is required to compile plugin at runtime, after loading.
|
|
|
|
buildEnv { name = drv.name; paths = [ mono drv ]; }
|