nixpkgs/pkgs/tools/misc/undocker/default.nix
2023-11-27 02:17:53 +01:00

25 lines
586 B
Nix

{ lib
, buildGoModule
, fetchFromSourcehut
}:
buildGoModule rec {
pname = "undocker";
version = "1.0.4";
src = fetchFromSourcehut {
owner = "~motiejus";
repo = pname;
rev = "v${version}";
hash = "sha256-I+pTbr1lKELyYlyHrx2gB+aeZ3/PmcePQfXu1ckhKAk=";
};
vendorHash = null;
meta = with lib; {
homepage = "https://git.sr.ht/~motiejus/undocker";
description = "A CLI tool to convert a Docker image to a flattened rootfs tarball";
license = licenses.asl20;
maintainers = with maintainers; [ jordanisaacs ];
mainProgram = "undocker";
};
}