dae: 0.4.0 -> 0.5.0
This commit is contained in:
parent
526411af96
commit
7bc0bfcd28
1 changed files with 8 additions and 4 deletions
|
@ -2,24 +2,27 @@
|
|||
, clang
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, installShellFiles
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "dae";
|
||||
version = "0.4.0";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "daeuniverse";
|
||||
repo = "dae";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-hvAuWCacaWxXwxx5ktj57hnWt8fcnwD6rUuRj1+ZtFA=";
|
||||
hash = "sha256-DxGKfxu13F7+5zV/31GP9gkbGHrz5RdRe84J3DQ0iUs=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
vendorHash = "sha256-qK+x6ciAebwIWHRjRpNXCAqsfnmEx37evS4+7kwcFIs=";
|
||||
vendorHash = "sha256-UQRM3/JSsPDAGqYZ43bVYVvSLvqqZ/BJE6hwx5wzfcQ=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
nativeBuildInputs = [ clang ];
|
||||
nativeBuildInputs = [ clang installShellFiles ];
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
@ -41,6 +44,7 @@ buildGoModule rec {
|
|||
install -Dm444 install/dae.service $out/lib/systemd/system/dae.service
|
||||
substituteInPlace $out/lib/systemd/system/dae.service \
|
||||
--replace /usr/bin/dae $out/bin/dae
|
||||
installShellCompletion install/shell-completion/dae.{bash,zsh,fish}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue