mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
Merge pull request #315335 from fabaff/gophish
python312Packages.gophish: init at 0.5.1
This commit is contained in:
commit
61504a0f66
65
pkgs/development/python-modules/gophish/default.nix
Normal file
65
pkgs/development/python-modules/gophish/default.nix
Normal file
@ -0,0 +1,65 @@
|
||||
{
|
||||
lib,
|
||||
appdirs,
|
||||
buildPythonPackage,
|
||||
certifi,
|
||||
chardet,
|
||||
fetchFromGitHub,
|
||||
idna,
|
||||
packaging,
|
||||
pyparsing,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
requests,
|
||||
setuptools,
|
||||
six,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gophish";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gophish";
|
||||
repo = "api-client-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ITwwU/Xixyi9JSWbYf606HB7S5E4jiI0lEYcOdNg3mo=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
dependencies = [
|
||||
appdirs
|
||||
certifi
|
||||
chardet
|
||||
idna
|
||||
packaging
|
||||
pyparsing
|
||||
python-dateutil
|
||||
requests
|
||||
six
|
||||
urllib3
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "gophish" ];
|
||||
|
||||
# Module has no test
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with Gophish";
|
||||
homepage = "https://github.com/gophish/api-client-python";
|
||||
changelog = "https://github.com/gophish/api-client-python/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -4878,6 +4878,8 @@ self: super: with self; {
|
||||
|
||||
goodwe = callPackage ../development/python-modules/goodwe { };
|
||||
|
||||
gophish = callPackage ../development/python-modules/gophish { };
|
||||
|
||||
google = callPackage ../development/python-modules/google { };
|
||||
|
||||
google-ai-generativelanguage = callPackage ../development/python-modules/google-ai-generativelanguage { };
|
||||
|
Loading…
Reference in New Issue
Block a user