2022-12-02 08:20:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromSourcehut
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "undocker";
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "1.0.4";
|
2022-12-02 08:20:57 +00:00
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~motiejus";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-16 17:41:37 +00:00
|
|
|
hash = "sha256-I+pTbr1lKELyYlyHrx2gB+aeZ3/PmcePQfXu1ckhKAk=";
|
2022-12-02 08:20:57 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
vendorHash = null;
|
2022-12-02 08:20:57 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://git.sr.ht/~motiejus/undocker";
|
|
|
|
description = "A CLI tool to convert a Docker image to a flattened rootfs tarball";
|
2023-02-16 17:41:37 +00:00
|
|
|
license = licenses.asl20;
|
2022-12-02 08:20:57 +00:00
|
|
|
maintainers = with maintainers; [ jordanisaacs ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "undocker";
|
2022-12-02 08:20:57 +00:00
|
|
|
};
|
|
|
|
}
|