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

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

26 lines
586 B
Nix
Raw Normal View History

2022-11-21 16:46:13 +01:00
{ lib
, buildGoModule
, fetchFromSourcehut
}:
buildGoModule rec {
pname = "undocker";
2023-02-16 00:42:42 +01:00
version = "1.0.4";
2022-11-21 16:46:13 +01:00
src = fetchFromSourcehut {
owner = "~motiejus";
repo = pname;
rev = "v${version}";
2023-02-16 00:42:42 +01:00
hash = "sha256-I+pTbr1lKELyYlyHrx2gB+aeZ3/PmcePQfXu1ckhKAk=";
2022-11-21 16:46:13 +01:00
};
vendorHash = null;
2022-11-21 16:46:13 +01: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-16 00:42:42 +01:00
license = licenses.asl20;
2022-11-21 16:46:13 +01:00
maintainers = with maintainers; [ jordanisaacs ];
2023-11-27 02:17:53 +01:00
mainProgram = "undocker";
2022-11-21 16:46:13 +01:00
};
}