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