3
0
Fork 0
forked from mirrors/nixpkgs

sshoogr init at 0.9.26

This commit is contained in:
John Mercier 2019-10-09 19:42:42 -04:00
parent f251c29484
commit 39ddaf9fa3
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ stdenv, fetchzip, jdk, makeWrapper }:
stdenv.mkDerivation rec {
pname = "sshoogr";
version = "0.9.26";
src = fetchzip {
url = "https://repo1.maven.org/maven2/com/aestasit/infrastructure/${pname}/${pname}/${version}/${pname}-${version}.zip";
sha256 = "134qlx90y82g1rfxhyn12z9r2imm1l3fz09hrrn3pgcdcq5jz2s1";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
rm bin/sshoogr.bat
cp -r . $out
wrapProgram $out/bin/sshoogr \
--prefix JAVA_HOME : ${jdk}
'';
meta = with stdenv.lib; {
description = ''
A Groovy-based DSL for working with remote SSH servers
'';
longDescription = ''
The sshoogr (pronounced [ʃʊgə]) is a Groovy-based DSL library for working
with remote servers through SSH. The DSL allows: connecting, executing
remote commands, copying files and directories, creating tunnels in a
simple and concise way.
'';
homepage = "https://github.com/aestasit/sshoogr";
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [ moaxcp ];
};
}

View file

@ -6328,6 +6328,8 @@ in
sslmate = callPackage ../development/tools/sslmate { };
sshoogr = callPackage ../tools/networking/sshoogr { };
ssmtp = callPackage ../tools/networking/ssmtp { };
ssocr = callPackage ../applications/misc/ssocr { };