1 { lib, stdenv, buildEnv, fetchFromGitHub, mono }:
5 drv = stdenv.mkDerivation {
8 src = fetchFromGitHub {
12 # for 1.8.4.2 the tag is at the wrong commit (they fixed stuff
13 # afterwards and didn't move the tag), hence reference by commitid
14 rev = "c2c4eb5388a02169400cba7a67be325caabdcc37";
15 sha256 = "0bkzxggbqx7sql3sp46bqham6r457in0vrgh3ai3lw2jrw79pwmh";
19 description = "KeePass plugin to expose password entries securely (256bit AES/CBC) over HTTP";
20 homepage = "https://github.com/pfn/keepasshttp";
21 platforms = with lib.platforms; linux;
22 license = lib.licenses.gpl3;
25 pluginFilename = "KeePassHttp.plgx";
28 mkdir -p $out/lib/dotnet/keepass/
29 cp $pluginFilename $out/lib/dotnet/keepass/$pluginFilename
33 # Mono is required to compile plugin at runtime, after loading.
34 buildEnv { name = drv.name; paths = [ mono drv ]; }