Skip to content

Instantly share code, notes, and snippets.

@davidak
Last active July 18, 2018 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidak/7e103acfee4717c2794e48ca320fabed to your computer and use it in GitHub Desktop.
Save davidak/7e103acfee4717c2794e48ca320fabed to your computer and use it in GitHub Desktop.
{ stdenv, buildPythonPackage, fetchurl, isPy3k, paramiko, lxml }:
buildPythonPackage rec {
pname = "gvm-tools";
version = "1.3.1";
src = fetchurl {
url = "https://github.com/greenbone/gvm-tools/archive/v${version}.tar.gz";
sha256 = "0an0d4n87zv379lbapk4aa5x87nmfwgqf1w5vgvnlkmza49xij2q";
};
# src = fetchPypi {
# inherit pname version;
# sha256 = "0pnq6j8f144virhri0drgf0058x6qcxfd5yrb0ynbwr8djh326yn";
# };
propagatedBuildInputs = [ paramiko lxml ];
# Python 3 only
disabled = (!isPy3k);
meta = with stdenv.lib; {
homepage = https://github.com/greenbone/gvm-tools;
description = "Greenbone Vulnerability Management Tools";
license = licenses.mit;
longDescription = ''
GVM-Tools is a collection of tools that help with remote controlling
a Greenbone Security Manager (GSM) appliance and its underlying
Greenbone Vulnerability Manager (GVM). The tools essentially aid
accessing the communication protocols GMP (Greenbone Management Protocol)
and OSP (Open Scanner Protocol).
'';
maintainers = with maintainers; [ davidak ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment