diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/undocker/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/undocker/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/undocker/default.nix b/nixpkgs/pkgs/tools/misc/undocker/default.nix new file mode 100644 index 000000000000..f80642f1e812 --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/undocker/default.nix @@ -0,0 +1,24 @@ +{ 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 ]; + }; +} |