at 23.11-beta 36 lines 778 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5buildGoModule rec { 6 pname = "ops"; 7 version = "0.1.32"; 8 9 src = fetchFromGitHub { 10 owner = "nanovms"; 11 repo = pname; 12 rev = version; 13 sha256 = "sha256-ac+17hywzyK7ChCP/nhwTP1WEIZ89+BKX9/YmsPpfg8="; 14 }; 15 16 proxyVendor = true; # Doesn't build otherwise 17 18 vendorHash = "sha256-65VvUy4vGTfZgsXGJVSc/yU5R5MhSKJyMMsvPOCThks="; 19 20 # Some tests fail 21 doCheck = false; 22 doInstallCheck = true; 23 24 ldflags = [ 25 "-s" "-w" 26 "-X github.com/nanovms/ops/lepton.Version=${version}" 27 ]; 28 29 meta = with lib; { 30 description = "Build and run nanos unikernels"; 31 homepage = "https://github.com/nanovms/ops"; 32 license = licenses.mit; 33 platforms = platforms.linux; 34 maintainers = with maintainers; [ dit7ya ]; 35 }; 36}