1 { lib, stdenv, buildEnv, fetchzip, mono }:
5 drv = stdenv.mkDerivation {
10 url = "https://lechnology.com/wp-content/uploads/2020/05/KeeAgent_v0.12.0.zip";
11 sha256 = "0fcfbj3yikiv3dmp69236h9r3c416amdq849kn131w1129gb68xd";
16 description = "KeePass plugin to allow other programs to access SSH keys stored in a KeePass database for authentication";
17 homepage = "http://lechnology.com/software/keeagent";
18 platforms = with lib.platforms; linux;
19 license = lib.licenses.gpl2;
23 pluginFilename = "KeeAgent.plgx";
26 mkdir -p $out/lib/dotnet/keepass/
27 cp $pluginFilename $out/lib/dotnet/keepass/$pluginFilename
31 # Mono is required to compile plugin at runtime, after loading.
32 buildEnv { name = drv.name; paths = [ mono drv ]; }