evil-winrm: refactor
- update changelog entry
This commit is contained in:
parent
545ac55f77
commit
caa9d4ac43
1 changed files with 17 additions and 7 deletions
|
@ -1,4 +1,9 @@
|
|||
{ stdenv, lib, fetchFromGitHub, makeWrapper, bundlerEnv }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, bundlerEnv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "evil-winrm";
|
||||
|
@ -7,8 +12,8 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "Hackplayers";
|
||||
repo = "evil-winrm";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-8Lyo7BgypzrHMEcbYlxo/XWwOtBqs2tczYnc3+XEbeA=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-8Lyo7BgypzrHMEcbYlxo/XWwOtBqs2tczYnc3+XEbeA=";
|
||||
};
|
||||
|
||||
env = bundlerEnv {
|
||||
|
@ -18,8 +23,13 @@ stdenv.mkDerivation rec {
|
|||
gemset = ./gemset.nix;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ env.wrappedRuby ];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
env.wrappedRuby
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
@ -27,9 +37,9 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Hackplayers/evil-winrm";
|
||||
changelog = "https://github.com/Hackplayers/evil-winrm/releases/tag/v${version}";
|
||||
description = "WinRM shell for hacking/pentesting";
|
||||
homepage = "https://github.com/Hackplayers/evil-winrm";
|
||||
changelog = "https://github.com/Hackplayers/evil-winrm/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ elohmeier ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue