Merge pull request #333299 from aksiksi/master
This commit is contained in:
commit
38868c2750
@ -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";
|
||||
|
37
pkgs/by-name/co/compose2nix/package.nix
Normal file
37
pkgs/by-name/co/compose2nix/package.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user