nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 811 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5}: 6 7python3.pkgs.buildPythonApplication { 8 pname = "certi"; 9 version = "0.1.0-unstable-2023-01-27"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "zer1t0"; 14 repo = "certi"; 15 # https://github.com/zer1t0/certi/issues/6 16 rev = "6cfa656c6c0fcbbe9b9bce847b052c881202354e"; 17 hash = "sha256-6j/Lwq68qyfEAo5MRibgdomrCO4KEd/DlAEwB+Z52Hc="; 18 }; 19 20 nativeBuildInputs = with python3.pkgs; [ 21 setuptools 22 ]; 23 24 propagatedBuildInputs = with python3.pkgs; [ 25 cryptography 26 impacket 27 ]; 28 29 pythonImportsCheck = [ 30 "certilib" 31 ]; 32 33 meta = { 34 description = "ADCS abuser"; 35 homepage = "https://github.com/zer1t0/certi"; 36 license = lib.licenses.agpl3Only; 37 maintainers = with lib.maintainers; [ fab ]; 38 mainProgram = "certi"; 39 }; 40}