-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gomanagedocker: init at 1.4 (#347300)
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7675,6 +7675,12 @@ | |
githubId = 111183546; | ||
keys = [ { fingerprint = "58CE D4BE 6B10 149E DA80 A990 2F48 6356 A4CB 30F3"; } ]; | ||
}; | ||
genga898 = { | ||
email = "[email protected]"; | ||
github = "genga898"; | ||
githubId = 84174227; | ||
name = "Emmanuel Genga"; | ||
}; | ||
genofire = { | ||
name = "genofire"; | ||
email = "[email protected]"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; | ||
}; | ||
} |