2022-11-21 15:46:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromSourcehut
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "undocker";
|
2023-02-15 23:42:42 +00:00
|
|
|
version = "1.0.4";
|
2022-11-21 15:46:13 +00:00
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~motiejus";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-15 23:42:42 +00:00
|
|
|
hash = "sha256-I+pTbr1lKELyYlyHrx2gB+aeZ3/PmcePQfXu1ckhKAk=";
|
2022-11-21 15:46:13 +00:00
|
|
|
};
|
|
|
|
|
2023-01-21 16:35:00 +00:00
|
|
|
vendorHash = null;
|
2022-11-21 15:46:13 +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-15 23:42:42 +00:00
|
|
|
license = licenses.asl20;
|
2022-11-21 15:46:13 +00:00
|
|
|
maintainers = with maintainers; [ jordanisaacs ];
|
|
|
|
};
|
|
|
|
}
|