Merge pull request #258651 from fabaff/container2wasm-bump
container2wasm: 0.4.0 -> 0.5.1
This commit is contained in:
commit
cbe1e97e3d
1 changed files with 16 additions and 9 deletions
|
@ -5,26 +5,33 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "container2wasm";
|
pname = "container2wasm";
|
||||||
version = "0.4.0";
|
version = "0.5.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ktock";
|
owner = "ktock";
|
||||||
repo = "container2wasm";
|
repo = "container2wasm";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-m8pO7xkYjwvDoDreOPuiKNavFWcHn8Fy+F/eArBWRPM=";
|
hash = "sha256-ba40Nu2tVrRSvVeGxlrn0Bw+xQqWeli40lwBWOXSNTA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-BiQzNXEZ7O+Xb2SQKYVQRMtm/fSmr+PD+RBLpCywkyQ=";
|
vendorHash = "sha256-tyfLWmxAzFc0JuSem8L0HPG4wy9Gxdp8F/J3DyOx6rQ=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X=github.com/ktock/container2wasm/version.Version=${version}"
|
||||||
|
];
|
||||||
|
|
||||||
subPackages = [ "cmd/c2w" ];
|
subPackages = [
|
||||||
|
"cmd/c2w"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Container to WASM converter";
|
description = "Container to WASM converter";
|
||||||
homepage = "https://github.com/ktock/container2wasm";
|
homepage = "https://github.com/ktock/container2wasm";
|
||||||
license = lib.licenses.asl20;
|
changelog = "https://github.com/ktock/container2wasm/releases/tag/v${version}";
|
||||||
maintainers = with lib.maintainers; [ dit7ya ];
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ dit7ya ];
|
||||||
mainProgram = "c2w";
|
mainProgram = "c2w";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue