depot/third_party/nixpkgs/pkgs/tools/misc/undocker/default.nix
Default email 7d542a9f98 Project import generated by Copybara.
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
2022-12-02 08:20:57 +00:00

24 lines
603 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 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
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 ];
};
}