nixpkgs/pkgs/tools/misc/undocker/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
556 B
Nix
Raw Normal View History

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