mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
29 lines
842 B
Nix
29 lines
842 B
Nix
{ lib, buildGoModule, fetchFromGitHub, nix-update-script, nixosTests }:
|
|
|
|
buildGoModule rec {
|
|
pname = "rootlesskit";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rootless-containers";
|
|
repo = "rootlesskit";
|
|
rev = "v${version}";
|
|
hash = "sha256-QjGjP7GiJiP2bJE707Oc4wZ9o/gRmSboK9xGbbyG5EM=";
|
|
};
|
|
|
|
vendorHash = "sha256-mNuj4/e1qH3P5MfbwPLddXWhc8aDcQuoSSHZ+S+zKWw=";
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
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;
|
|
};
|
|
}
|