01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
28 lines
862 B
Nix
28 lines
862 B
Nix
{ lib, buildGoModule, fetchFromGitHub, nix-update-script, nixosTests }:
|
|
|
|
buildGoModule rec {
|
|
pname = "rootlesskit";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rootless-containers";
|
|
repo = "rootlesskit";
|
|
rev = "v${version}";
|
|
hash = "sha256-pIxjesfkHWc7kz4knHxLnzopxO26dBAd/3+wVQ19oiI=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-ILGUJsfG60qVu1RWoe8gwjVDfhPoAVZck0CVORgN2y0=";
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { attrPath = pname; };
|
|
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;
|
|
};
|
|
}
|