Merge pull request #185193 from dit7ya/ops

ops: init at 0.1.32
This commit is contained in:
Jonas Heinrich 2022-08-21 11:54:41 +02:00 committed by GitHub
commit a2627bae2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ops";
version = "0.1.32";
src = fetchFromGitHub {
owner = "nanovms";
repo = pname;
rev = version;
sha256 = "sha256-ac+17hywzyK7ChCP/nhwTP1WEIZ89+BKX9/YmsPpfg8=";
};
proxyVendor = true; # Doesn't build otherwise
vendorSha256 = "sha256-65VvUy4vGTfZgsXGJVSc/yU5R5MhSKJyMMsvPOCThks=";
# Some tests fail
doCheck = false;
doInstallCheck = true;
ldflags = [
"-s" "-w"
"-X github.com/nanovms/ops/lepton.Version=${version}"
];
meta = with lib; {
description = "Build and run nanos unikernels";
homepage = "https://github.com/nanovms/ops";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ dit7ya ];
};
}

View file

@ -23136,6 +23136,8 @@ with pkgs;
tpmSupport = true;
};
ops = callPackage ../applications/virtualization/ops { };
seabios = callPackage ../applications/virtualization/seabios { };
vmfs-tools = callPackage ../tools/filesystems/vmfs-tools { };