github-to-sops: init at 2.0.0 (#433178)

authored by Matt Sturgeon and committed by GitHub 847ca079 f8aa3080

+57
+7
maintainers/maintainer-list.nix
··· 26313 26313 githubId = 3742502; 26314 26314 name = "Oscar Molnar"; 26315 26315 }; 26316 + typedrat = { 26317 + name = "Alexis Williams"; 26318 + email = "alexis@typedr.at"; 26319 + github = "typedrat"; 26320 + githubId = 1057789; 26321 + matrix = "@typedrat:thisratis.gay"; 26322 + }; 26316 26323 typetetris = { 26317 26324 email = "ericwolf42@mail.com"; 26318 26325 github = "typetetris";
+50
pkgs/by-name/gi/github-to-sops/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + fetchpatch2, 5 + python3Packages, 6 + sops, 7 + versionCheckHook, 8 + nix-update-script, 9 + }: 10 + python3Packages.buildPythonApplication rec { 11 + pname = "github-to-sops"; 12 + version = "2.0.0"; 13 + pyproject = true; 14 + 15 + src = fetchFromGitHub { 16 + owner = "tarasglek"; 17 + repo = "github-to-sops"; 18 + tag = "v${version}"; 19 + hash = "sha256-HwJay5GaEWhXBsRijSgxX+FMKX7wIwssDVoekPKJ67M="; 20 + }; 21 + 22 + build-system = with python3Packages; [ 23 + setuptools 24 + ]; 25 + 26 + dependencies = [ 27 + sops 28 + ]; 29 + 30 + patches = [ 31 + (fetchpatch2 { 32 + name = "use-compliant-license-schema.patch"; 33 + url = "https://github.com/tarasglek/github-to-sops/commit/798c864f1537f668fbaf7802651ec8beb998a7af.patch?full_index=1"; 34 + hash = "sha256-udBO5dN8RCclXpkTj/gU6zcUcaoM+G9jPEw4dCZ+oT4="; 35 + }) 36 + ]; 37 + 38 + doInstallCheck = true; 39 + nativeInstallCheckInputs = [ versionCheckHook ]; 40 + 41 + passthru.updateScript = nix-update-script { }; 42 + 43 + meta = { 44 + description = "Tool for managing infrastructure secrets in git repositories using SOPS and GitHub SSH keys"; 45 + homepage = "https://github.com/tarasglek/github-to-sops"; 46 + license = lib.licenses.mit; 47 + mainProgram = "github-to-sops"; 48 + maintainers = with lib.maintainers; [ typedrat ]; 49 + }; 50 + }