depot/third_party/nixpkgs/pkgs/tools/virtualization/rootlesskit/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

28 lines
842 B
Nix

{ lib, buildGoModule, fetchFromGitHub, nix-update-script, nixosTests }:
buildGoModule rec {
pname = "rootlesskit";
version = "2.0.2";
src = fetchFromGitHub {
owner = "rootless-containers";
repo = "rootlesskit";
rev = "v${version}";
hash = "sha256-L8UdT3hQO4IrXkpOL0bjpy6OwNJQR8EG0+MgXVXzoBU=";
};
vendorHash = "sha256-TGLxcH6wg8fObLsSKKdBgIbb7t4YBP+pUWNNHlEZtaw=";
passthru = {
updateScript = nix-update-script { };
tests = nixosTests.docker-rootless;
};
meta = with lib; {
homepage = "https://github.com/rootless-containers/rootlesskit";
description = ''Kind of Linux-native "fake root" utility, made for mainly running Docker and Kubernetes as an unprivileged user'';
license = licenses.asl20;
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
};
}