blob: 14e1c07d05cd9d2b11dbd2d5ab2d5693e3d568d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildGoModule,
dockmate,
fetchFromGitHub,
versionCheckHook,
}:
buildGoModule rec {
pname = "dockmate";
version = "0.1.0";
src = fetchFromGitHub {
owner = "shubh-io";
repo = "DockMate";
tag = "v${version}";
hash = "sha256-kepv8jY/hddRpJMhwr55k0R8CPBKtifjrGiRxoIUDXw=";
};
nativeInstallCheckInputs = [
versionCheckHook
];
vendorHash = "sha256-/votTA5Rn8beq1PgHpC01D01VjBIwciPVN5eNc8iZRM=";
# Skip tests that require a Docker daemon or interactive filesystem access,
# as these are unavailable in the restricted Nix build sandbox.
checkFlags = [
"-skip=TestDockerComposeCommandNoFiles|TestDockerComposeCommandSingleFile|TestDockerComposeCommandMultipleFiles|TestWritingToConfigFile"
];
doInstallCheck = true;
meta = {
changelog = "https://github.com/shubh-io/DockMate/releases/tag/${src.tag}";
description = "Terminal-based Docker container manager that actually works";
homepage = "https://github.com/shubh-io/DockMate";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
sith-lord-vader
];
mainProgram = "dockmate";
};
}
|