Merge pull request #333299 from aksiksi/master

This commit is contained in:
Sandro 2024-08-22 14:11:11 +02:00 committed by GitHub
commit 38868c2750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 43 additions and 0 deletions

View File

@ -834,6 +834,12 @@
githubId = 20405311;
name = "Aksh Gupta";
};
aksiksi = {
email = "assil@ksiksi.net";
github = "aksiksi";
githubId = 916621;
name = "Assil Ksiksi";
};
akssri = {
email = "akssri@vakra.xyz";
github = "akssri";

View File

@ -0,0 +1,37 @@
{
lib,
buildGoModule,
fetchFromGitHub,
testers,
compose2nix,
}:
buildGoModule rec {
pname = "compose2nix";
version = "0.2.1";
src = fetchFromGitHub {
owner = "aksiksi";
repo = "compose2nix";
rev = "v${version}";
hash = "sha256-+rvjQzfh8lYdJEYwODaRS7fA7Tm/G2ONFvDa1kVG++8";
};
vendorHash = "sha256-5DTPG4FiSWguTmcVmys64Y1fXJHlSI/1qj1VEBJomNk=";
passthru.tests = {
version = testers.testVersion {
package = compose2nix;
version = "compose2nix v${version}";
};
};
meta = {
homepage = "https://github.com/aksiksi/compose2nix";
changelog = "https://github.com/aksiksi/compose2nix/releases/tag/${src.rev}";
description = "Generate a NixOS config from a Docker Compose project";
license = lib.licenses.mit;
mainProgram = "compose2nix";
maintainers = with lib.maintainers; [ aksiksi ];
};
}