Skip to content

Commit ed65c2d

Browse files
authored
gomanagedocker: init at 1.4 (#347300)
2 parents 5629952 + 454dd14 commit ed65c2d

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

maintainers/maintainer-list.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7675,6 +7675,12 @@
76757675
githubId = 111183546;
76767676
keys = [ { fingerprint = "58CE D4BE 6B10 149E DA80 A990 2F48 6356 A4CB 30F3"; } ];
76777677
};
7678+
genga898 = {
7679+
email = "[email protected]";
7680+
github = "genga898";
7681+
githubId = 84174227;
7682+
name = "Emmanuel Genga";
7683+
};
76787684
genofire = {
76797685
name = "genofire";
76807686
email = "[email protected]";
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
stdenv,
6+
darwin,
7+
xorg,
8+
}:
9+
let
10+
version = "1.4";
11+
in
12+
buildGoModule {
13+
pname = "gomanagedocker";
14+
inherit version;
15+
16+
src = fetchFromGitHub {
17+
owner = "ajayd-san";
18+
repo = "gomanagedocker";
19+
rev = "refs/tags/v${version}";
20+
hash = "sha256-oM0DCOHdVPJFWgmHF8yeGGo6XvuTCXar7NebM1obahg=";
21+
};
22+
23+
vendorHash = "sha256-M/jfQWCBrv7hZm450yLBmcjWtNSCziKOpfipxI6U9ak=";
24+
25+
buildInputs =
26+
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ]
27+
++ lib.optionals stdenv.isLinux [ xorg.libX11 ];
28+
29+
ldflags = [
30+
"-s"
31+
"-w"
32+
];
33+
34+
meta = {
35+
description = "TUI tool to manage your docker images, containers and volumes";
36+
homepage = "https://github.com/ajayd-san/gomanagedocker";
37+
license = lib.licenses.mit;
38+
maintainers = with lib.maintainers; [ genga898 ];
39+
mainProgram = "gomanagedocker";
40+
};
41+
}

0 commit comments

Comments
 (0)