Merge pull request #164309 from liff/rootlesskit/v0.14

rootlesskit: 0.11.1 -> 1.0.0
This commit is contained in:
ajs124 2022-04-10 21:35:49 +01:00 committed by GitHub
commit 58303b3ef5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,21 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, nix-update-script, nixosTests }:
buildGoPackage rec {
buildGoModule rec {
pname = "rootlesskit";
version = "0.11.1";
goPackagePath = "github.com/rootless-containers/rootlesskit";
version = "1.0.0";
src = fetchFromGitHub {
owner = "rootless-containers";
repo = "rootlesskit";
rev = "v${version}";
sha256 = "15k0503077ang9ywvmhpr1l7ax0v3wla0x8n6lqpmd71w0j2zm5r";
hash = "sha256-Tml6zTc9l3O8qB+NSKlClWl5lj1rkiDHwI5exxBL83A=";
};
vendorSha256 = "sha256-CpDPa1LAinvXCnVYbn9ZXuEjyHHlDU4bzZ2R+ctoCzQ=";
passthru = {
updateScript = nix-update-script { attrPath = pname; };
tests = nixosTests.docker-rootless;
};
meta = with lib; {