at 23.05-pre 28 lines 862 B view raw
1{ lib, buildGoModule, fetchFromGitHub, nix-update-script, nixosTests }: 2 3buildGoModule rec { 4 pname = "rootlesskit"; 5 version = "1.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "rootless-containers"; 9 repo = "rootlesskit"; 10 rev = "v${version}"; 11 hash = "sha256-pIxjesfkHWc7kz4knHxLnzopxO26dBAd/3+wVQ19oiI="; 12 }; 13 14 vendorSha256 = "sha256-ILGUJsfG60qVu1RWoe8gwjVDfhPoAVZck0CVORgN2y0="; 15 16 passthru = { 17 updateScript = nix-update-script { attrPath = pname; }; 18 tests = nixosTests.docker-rootless; 19 }; 20 21 meta = with lib; { 22 homepage = "https://github.com/rootless-containers/rootlesskit"; 23 description = ''Kind of Linux-native "fake root" utility, made for mainly running Docker and Kubernetes as an unprivileged user''; 24 license = licenses.asl20; 25 maintainers = with maintainers; [ offline ]; 26 platforms = platforms.linux; 27 }; 28}