1{ lib
2, buildGoModule
3, fetchFromSourcehut
4}:
5buildGoModule rec {
6 pname = "undocker";
7 version = "1.0.4";
8
9 src = fetchFromSourcehut {
10 owner = "~motiejus";
11 repo = pname;
12 rev = "v${version}";
13 hash = "sha256-I+pTbr1lKELyYlyHrx2gB+aeZ3/PmcePQfXu1ckhKAk=";
14 };
15
16 vendorHash = null;
17
18 meta = with lib; {
19 homepage = "https://git.sr.ht/~motiejus/undocker";
20 description = "A CLI tool to convert a Docker image to a flattened rootfs tarball";
21 license = licenses.asl20;
22 maintainers = with maintainers; [ jordanisaacs ];
23 };
24}