depot/third_party/nixpkgs/pkgs/tools/misc/undocker/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

24 lines
554 B
Nix

{ lib
, buildGoModule
, fetchFromSourcehut
}:
buildGoModule rec {
pname = "undocker";
version = "1.0.3";
src = fetchFromSourcehut {
owner = "~motiejus";
repo = pname;
rev = "v${version}";
hash = "sha256-SmtM25sijcm5NF0ZrSqrRQDXiLMNp8WGAZX9yKvj1rQ=";
};
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.mit;
maintainers = with maintainers; [ jordanisaacs ];
};
}