rootlesskit: 0.11.1 -> 1.0.0

This commit is contained in:
Olli Helenius 2022-03-15 21:52:27 +02:00
parent 5fbddc8d58
commit 7ee72e5597
No known key found for this signature in database
GPG key ID: 67235CC88F41DE3C

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; {