Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 22 lines 707 B view raw
1{ lib, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage rec { 4 pname = "rootlesskit"; 5 version = "0.11.1"; 6 goPackagePath = "github.com/rootless-containers/rootlesskit"; 7 8 src = fetchFromGitHub { 9 owner = "rootless-containers"; 10 repo = "rootlesskit"; 11 rev = "v${version}"; 12 sha256 = "15k0503077ang9ywvmhpr1l7ax0v3wla0x8n6lqpmd71w0j2zm5r"; 13 }; 14 15 meta = with lib; { 16 homepage = "https://github.com/rootless-containers/rootlesskit"; 17 description = ''Kind of Linux-native "fake root" utility, made for mainly running Docker and Kubernetes as an unprivileged user''; 18 license = licenses.asl20; 19 maintainers = with maintainers; [ offline ]; 20 platforms = platforms.linux; 21 }; 22}