onmetal-image: unstable-2022-09-28 -> 0.1.1
This commit is contained in:
parent
b31c968ff2
commit
2e824d9b96
|
@ -6,18 +6,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "onmetal-image";
|
pname = "onmetal-image";
|
||||||
version = "unstable-2022-09-28";
|
version = "0.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "onmetal";
|
owner = "onmetal";
|
||||||
repo = "onmetal-image";
|
repo = "onmetal-image";
|
||||||
rev = "26f6ac2607e1cac19c35fac94aa8cd963b19628a";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ITUm7CEaz8X7LhArGJXk4YKQcX+kOvju6Go+fGfFOcw=";
|
hash = "sha256-KvOBvAIE9V2bj5prdcc8G5ifHsvybHBCYWrI4fWtdvE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-ISDNqXoJEYy6kfCZGqHoie0jMOw9bgjYGHqBGx6mymc=";
|
vendorHash = "sha256-aCL8hLcBnIs5BJM7opIwcOLvOS3uL9mYXs1vOAMlX/M=";
|
||||||
|
|
||||||
subPackages = [ "cmd" ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
|
@ -26,10 +24,10 @@ buildGoModule rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv $out/bin/cmd $out/bin/onmetal-image
|
mv $out/bin/cmd $out/bin/onmetal-image
|
||||||
|
|
||||||
installShellCompletion --cmd onmetal-image \
|
installShellCompletion --cmd onmetal-image \
|
||||||
--bash <($out/bin/onmetal-image completion bash) \
|
--bash <($out/bin/onmetal-image completion bash) \
|
||||||
--fish <($out/bin/onmetal-image completion fish) \
|
--fish <($out/bin/onmetal-image completion fish) \
|
||||||
--zsh <($out/bin/onmetal-image completion zsh)
|
--zsh <($out/bin/onmetal-image completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue