mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
keepass-keeagent: init at 0.8.1
[Bjørn: change fetchurl indent 4 -> 2 spaces.]
This commit is contained in:
parent
a8cca7037e
commit
6505c6e3df
31
pkgs/applications/misc/keepass-plugins/keeagent/default.nix
Normal file
31
pkgs/applications/misc/keepass-plugins/keeagent/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, buildEnv, fetchzip, mono }:
|
||||
|
||||
let
|
||||
version = "0.8.1";
|
||||
drv = stdenv.mkDerivation {
|
||||
name = "keeagent-${version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = http://lechnology.com/wp-content/uploads/2016/07/KeeAgent_v0.8.1.zip;
|
||||
sha256 = "16x1qrnzg0xkvi7w29wj3z0ldmql2vcbwxksbsmnidzmygwg98hk";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "KeePass plugin to allow other programs to access SSH keys stored in a KeePass database for authentication";
|
||||
homepage = http://lechnology.com/software/keeagent;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
pluginFilename = "KeeAgent.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 ]; }
|
@ -13425,6 +13425,8 @@ with pkgs;
|
||||
|
||||
keepass = callPackage ../applications/misc/keepass { };
|
||||
|
||||
keepass-keeagent = callPackage ../applications/misc/keepass-plugins/keeagent { };
|
||||
|
||||
keepass-keefox = callPackage ../applications/misc/keepass-plugins/keefox { };
|
||||
|
||||
keepass-keepasshttp = callPackage ../applications/misc/keepass-plugins/keepasshttp { };
|
||||
|
Loading…
Reference in New Issue
Block a user