2022-03-15 19:52:27 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nix-update-script, nixosTests }:
|
2019-02-16 12:08:21 +00:00
|
|
|
|
2022-03-15 19:52:27 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "rootlesskit";
|
2022-03-15 19:52:27 +00:00
|
|
|
version = "1.0.0";
|
2019-02-16 12:08:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rootless-containers";
|
|
|
|
repo = "rootlesskit";
|
|
|
|
rev = "v${version}";
|
2022-03-15 19:52:27 +00:00
|
|
|
hash = "sha256-Tml6zTc9l3O8qB+NSKlClWl5lj1rkiDHwI5exxBL83A=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "sha256-CpDPa1LAinvXCnVYbn9ZXuEjyHHlDU4bzZ2R+ctoCzQ=";
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script { attrPath = pname; };
|
|
|
|
tests = nixosTests.docker-rootless;
|
2019-02-16 12:08:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/rootless-containers/rootlesskit";
|
2019-02-16 12:08:21 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|