nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 916 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5}: 6 7python3.pkgs.buildPythonApplication (finalAttrs: { 8 pname = "mongoaudit"; 9 version = "0.1.1"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "stampery"; 14 repo = "mongoaudit"; 15 tag = finalAttrs.version; 16 hash = "sha256-RZBAldCHl7ApYQWhuvs/djhGWuQ+EdpVMCnP0QrfZJ4="; 17 }; 18 19 build-system = with python3.pkgs; [ setuptools ]; 20 21 dependencies = with python3.pkgs; [ 22 pymongo 23 setuptools 24 urwid 25 ]; 26 27 nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; 28 29 pythonImportsCheck = [ "mongoaudit" ]; 30 31 meta = { 32 description = "MongoDB auditing and pentesting tool"; 33 homepage = "https://github.com/stampery/mongoaudit"; 34 changelog = "https://github.com/stampery/mongoaudit/releases/tag/${finalAttrs.src.tag}"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ fab ]; 37 mainProgram = "mongoaudit"; 38 }; 39})