Merge pull request #299467 from fabaff/sipvicious-refactor
sipvicious: refactor
This commit is contained in:
commit
f4303a6dbf
|
@ -1,26 +1,46 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonApplication
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, installShellFiles
|
||||||
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "sipvicious";
|
pname = "sipvicious";
|
||||||
version = "0.3.4";
|
version = "0.3.4";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "EnableSecurity";
|
owner = "EnableSecurity";
|
||||||
repo = pname;
|
repo = "sipvicious";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-O8/9Vz/u8BoF1dfGceOJdzPPYLfkdBp2DkwA5WQ3dgo=";
|
hash = "sha256-O8/9Vz/u8BoF1dfGceOJdzPPYLfkdBp2DkwA5WQ3dgo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
installShellFiles
|
||||||
|
] ++ (with python3.pkgs; [
|
||||||
|
setuptools
|
||||||
|
]);
|
||||||
|
|
||||||
|
dependencies = with python3.pkgs; [
|
||||||
|
scapy
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage man1/*.1
|
||||||
|
'';
|
||||||
|
|
||||||
# Project has no tests
|
# Project has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "sipvicious" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"sipvicious"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = " Set of tools to audit SIP based VoIP systems";
|
description = "Set of tools to audit SIP based VoIP systems";
|
||||||
homepage = "https://github.com/EnableSecurity/sipvicious";
|
homepage = "https://github.com/EnableSecurity/sipvicious";
|
||||||
|
changelog = "https://github.com/EnableSecurity/sipvicious/releases/tag/v${version}";
|
||||||
license = with licenses; [ gpl3Plus ];
|
license = with licenses; [ gpl3Plus ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -13128,7 +13128,7 @@ with pkgs;
|
||||||
|
|
||||||
sipsak = callPackage ../tools/networking/sipsak { };
|
sipsak = callPackage ../tools/networking/sipsak { };
|
||||||
|
|
||||||
sipvicious = python3Packages.callPackage ../tools/security/sipvicious { };
|
sipvicious = callPackage ../tools/security/sipvicious { };
|
||||||
|
|
||||||
siril = callPackage ../applications/science/astronomy/siril { };
|
siril = callPackage ../applications/science/astronomy/siril { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user