mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
gomanagedocker: init at 1.4
This commit is contained in:
parent
4a466a74a1
commit
454dd14551
41
pkgs/by-name/go/gomanagedocker/package.nix
Normal file
41
pkgs/by-name/go/gomanagedocker/package.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue