File tree Expand file tree Collapse file tree 1 file changed +31
-8
lines changed
pkgs/by-name/go/gomanagedocker Expand file tree Collapse file tree 1 file changed +31
-8
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3+ stdenv ,
34 buildGoModule ,
45 fetchFromGitHub ,
5- stdenv ,
6- darwin ,
6+ versionCheckHook ,
7+ nix-update-script ,
78 xorg ,
9+ pkg-config ,
10+ gpgme ,
11+ btrfs-progs ,
812} :
913let
10- version = "1.4 " ;
14+ version = "1.5 " ;
1115in
1216buildGoModule {
1317 pname = "gomanagedocker" ;
@@ -17,20 +21,39 @@ buildGoModule {
1721 owner = "ajayd-san" ;
1822 repo = "gomanagedocker" ;
1923 tag = "v${ version } " ;
20- hash = "sha256-oM0DCOHdVPJFWgmHF8yeGGo6XvuTCXar7NebM1obahg =" ;
24+ hash = "sha256-y2lepnhaLsjokd587D0bCEd9cmG7GuNBbbx+0sKSCGA =" ;
2125 } ;
2226
23- vendorHash = "sha256-M/jfQWCBrv7hZm450yLBmcjWtNSCziKOpfipxI6U9ak =" ;
27+ vendorHash = "sha256-hUlv3i+ri9W8Pf1zVtFxB/QSdPJu1cWCjMbquCxoSno =" ;
2428
25- buildInputs =
26- lib . optionals stdenv . hostPlatform . isDarwin [ darwin . apple_sdk . frameworks . Cocoa ]
27- ++ lib . optionals stdenv . hostPlatform . isLinux [ xorg . libX11 ] ;
29+ nativeBuildInputs = [
30+ pkg-config
31+ ] ;
32+
33+ buildInputs = [
34+ gpgme
35+ btrfs-progs
36+ ] ++ lib . optionals stdenv . hostPlatform . isLinux [ xorg . libX11 ] ;
2837
2938 ldflags = [
3039 "-s"
3140 "-w"
3241 ] ;
3342
43+ # Mocking of docker and podman containers fails
44+ doCheck = false ;
45+
46+ nativeInstallCheckInputs = [
47+ versionCheckHook
48+ ] ;
49+
50+ versionCheckProgramArg = [ "--version" ] ;
51+ doInstallCheck = true ;
52+
53+ passthru = {
54+ updateScript = nix-update-script { } ;
55+ } ;
56+
3457 meta = {
3558 description = "TUI tool to manage your docker images, containers and volumes" ;
3659 homepage = "https://github.com/ajayd-san/gomanagedocker" ;
You can’t perform that action at this time.
0 commit comments