biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / misc / keepass-plugins / keepassrpc / default.nix
blob09331665a7f821dffa08dca95c446d0bcbc6f7bf
1 { lib, stdenv, buildEnv, fetchurl, mono }:
3 let
4   version = "1.16.0";
5   drv = stdenv.mkDerivation {
6     pname = "keepassrpc";
7     inherit version;
8     src = fetchurl {
9       url    = "https://github.com/kee-org/keepassrpc/releases/download/v${version}/KeePassRPC.plgx";
10       hash   = "sha256-p5dYluCrXAKhBhlm6sQ3QQE3gLMJzEZsHXwGnVeXFos=";
11     };
13     meta = with lib; {
14       description = "The KeePassRPC plugin that needs to be installed inside KeePass in order for Kee to be able to connect your browser to your passwords";
15       homepage    = "https://github.com/kee-org/keepassrpc";
16       platforms   = [ "x86_64-linux" ];
17       license     = licenses.gpl2;
18       maintainers = with maintainers; [ mjanczyk svsdep mgregoire ];
19     };
21     dontUnpack = true;
22     installPhase = ''
23       mkdir -p $out/lib/dotnet/keepass/
24       cp $src $out/lib/dotnet/keepass/
25     '';
26   };
28   # Mono is required to compile plugin at runtime, after loading.
29   buildEnv { name = drv.name; paths = [ mono drv ]; }