hilbish: 0.6.0 -> 0.6.1

conduit-nginx
legendofmiracles 2021-10-21 22:24:04 -06:00
parent b678b680a9
commit 72fb35ebfb
No known key found for this signature in database
GPG Key ID: 19B082B3DEFE5451
1 changed files with 8 additions and 9 deletions

View File

@ -2,26 +2,25 @@
buildGoModule rec { buildGoModule rec {
pname = "hilbish"; pname = "hilbish";
version = "0.6.0"; version = "0.6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Rosettea"; owner = "Rosettea";
repo = "Hilbish"; repo = "Hilbish";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ACHHHGT3VGnvZVi1UZb57+g/slcld5e3bh+DDhUVVpQ="; sha256 = "sha256-3qU1gQSWxyKgQcHgT61Q+n6u0rGU0vqTdT/VwMN20yw=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
vendorSha256 = "sha256-SVGPMFpQjVOWCfiPpEmqhp6MEO0wqeyAZVyeNmTuXl0="; vendorSha256 = "sha256-xnq0CEfz9uVpDkqY5/Sw9O5uMTHV74vQBXrav3bbH7E=";
buildInputs = [ readline ]; buildInputs = [ readline ];
ldflags = [ "-s" "-w" ]; ldflags = [
"-s"
postPatch = '' "-w"
substituteInPlace vars_linux.go \ "-X main.dataDir=${placeholder "out"}/share/hilbish"
--replace "/usr/share" "${placeholder "out"}/share/" ];
'';
postInstall = '' postInstall = ''
mkdir -p "$out/share/hilbish" mkdir -p "$out/share/hilbish"