2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildEnv, fetchurl, mono }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "1.16.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
drv = stdenv.mkDerivation {
|
|
|
|
pname = "keepassrpc";
|
|
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/kee-org/keepassrpc/releases/download/v${version}/KeePassRPC.plgx";
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-p5dYluCrXAKhBhlm6sQ3QQE3gLMJzEZsHXwGnVeXFos=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
|
|
|
homepage = "https://github.com/kee-org/keepassrpc";
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ mjanczyk svsdep mgregoire ];
|
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
dontUnpack = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib/dotnet/keepass/
|
2024-01-02 11:29:13 +00:00
|
|
|
cp $src $out/lib/dotnet/keepass/
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
in
|
|
|
|
# Mono is required to compile plugin at runtime, after loading.
|
|
|
|
buildEnv { name = drv.name; paths = [ mono drv ]; }
|