Commit 2e2542b3 authored by andjscott's avatar andjscott Committed by Franz Pletz
Browse files

keepasshttp: init at 1.8.4.1 (#18439)

parent 7203a0e9
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{ stdenv, buildEnv, fetchFromGitHub, mono }:

let
  version = "1.8.4.1";
  drv = stdenv.mkDerivation {
    name = "keepasshttp-${version}";
    src = fetchFromGitHub {
      owner = "pfn";
      repo = "keepasshttp";
      rev = "${version}";
      sha256 = "1074yv0pmzdwfwkx9fh7n2igdqwsyxypv55khkyng6synbv2p2fd";
    };

    meta = {
      description = "KeePass plugin to expose password entries securely (256bit AES/CBC) over HTTP";
      homepage    = https://github.com/pfn/keepasshttp;
      platforms   = with stdenv.lib.platforms; linux;
      license     = stdenv.lib.licenses.gpl3;
    };

    pluginFilename = "KeePassHttp.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 ]; }
+2 −0
Original line number Diff line number Diff line
@@ -13314,6 +13314,8 @@ in
  keepass-keefox = callPackage ../applications/misc/keepass-plugins/keefox { };
  keepass-keepasshttp = callPackage ../applications/misc/keepass-plugins/keepasshttp { };
  exrdisplay = callPackage ../applications/graphics/exrdisplay { };
  exrtools = callPackage ../applications/graphics/exrtools { };