From 4a466a74a192239e1409f7fa42627043a2f46e3f Mon Sep 17 00:00:00 2001 From: genga Date: Tue, 8 Oct 2024 16:54:26 +0300 Subject: [PATCH 1/2] maintainers: add genga898 --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e568256461f60..3f8a0fedfedd6 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -7651,6 +7651,12 @@ githubId = 111183546; keys = [ { fingerprint = "58CE D4BE 6B10 149E DA80 A990 2F48 6356 A4CB 30F3"; } ]; }; + genga898 = { + email = "genga898@gmail.com"; + github = "genga898"; + githubId = 84174227; + name = "Emmanuel Genga"; + }; genofire = { name = "genofire"; email = "geno+dev@fireorbit.de"; From 454dd145513f0fd9ce5c0b9457120a4562ffebf2 Mon Sep 17 00:00:00 2001 From: genga Date: Tue, 8 Oct 2024 21:25:43 +0300 Subject: [PATCH 2/2] gomanagedocker: init at 1.4 --- pkgs/by-name/go/gomanagedocker/package.nix | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/by-name/go/gomanagedocker/package.nix diff --git a/pkgs/by-name/go/gomanagedocker/package.nix b/pkgs/by-name/go/gomanagedocker/package.nix new file mode 100644 index 0000000000000..d31d435a7aa40 --- /dev/null +++ b/pkgs/by-name/go/gomanagedocker/package.nix @@ -0,0 +1,41 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + stdenv, + darwin, + xorg, +}: +let + version = "1.4"; +in +buildGoModule { + pname = "gomanagedocker"; + inherit version; + + src = fetchFromGitHub { + owner = "ajayd-san"; + repo = "gomanagedocker"; + rev = "refs/tags/v${version}"; + hash = "sha256-oM0DCOHdVPJFWgmHF8yeGGo6XvuTCXar7NebM1obahg="; + }; + + vendorHash = "sha256-M/jfQWCBrv7hZm450yLBmcjWtNSCziKOpfipxI6U9ak="; + + buildInputs = + lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ] + ++ lib.optionals stdenv.isLinux [ xorg.libX11 ]; + + ldflags = [ + "-s" + "-w" + ]; + + meta = { + description = "TUI tool to manage your docker images, containers and volumes"; + homepage = "https://github.com/ajayd-san/gomanagedocker"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ genga898 ]; + mainProgram = "gomanagedocker"; + }; +}