regrippy: init at 2.0.1

+37
+37
pkgs/by-name/re/regrippy/package.nix
··· 1 + { 2 + lib, 3 + python3, 4 + fetchFromGitHub, 5 + }: 6 + 7 + python3.pkgs.buildPythonApplication { 8 + pname = "regippy"; 9 + version = "2.0.1"; 10 + pyproject = true; 11 + 12 + src = fetchFromGitHub { 13 + owner = "airbus-cert"; 14 + repo = "regrippy"; 15 + rev = "05c9db999853c47af1d15f92f1a34aa2441e8882"; 16 + hash = "sha256-gS7qVPlXwn6UXRXPN5ahPmQL3JpwmESUEi0KKAzOo+8="; 17 + }; 18 + 19 + postInstall = '' 20 + mv $out/bin/regrip.py $out/bin/regrippy 21 + ''; 22 + 23 + build-system = [ python3.pkgs.setuptools ]; 24 + 25 + dependencies = [ 26 + python3.pkgs.importlib-resources 27 + python3.pkgs.python-registry 28 + ]; 29 + 30 + meta = { 31 + description = "Modern Python-3-based alternative to RegRipper"; 32 + homepage = "https://github.com/airbus-cert/regrippy"; 33 + license = lib.licenses.asl20; 34 + maintainers = with lib.maintainers; [ mikehorn ]; 35 + mainProgram = "regrippy"; 36 + }; 37 + }