Merge pull request #263738 from sochotnicky/wakapi-0.9.2
This commit is contained in:
commit
9e93d62a96
1 changed files with 5 additions and 2 deletions
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "wakapi";
|
pname = "wakapi";
|
||||||
version = "2.9.1";
|
version = "2.9.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "muety";
|
owner = "muety";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-uTDvipz08hrdFB/gAoxVp4Eesh57HOFUG4AD/5T33H8=";
|
sha256 = "sha256-BRIcStqRzwoFG9HkWBpfumeCzbrSI0Hg//a0iDQtNw8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-SqkE4vTT+QoLhKrQcGa2L5WmD+fCX7vli4FjgwLnqjg=";
|
vendorHash = "sha256-SqkE4vTT+QoLhKrQcGa2L5WmD+fCX7vli4FjgwLnqjg=";
|
||||||
|
@ -16,6 +16,9 @@ buildGoModule rec {
|
||||||
# Not a go module required by the project, contains development utilities
|
# Not a go module required by the project, contains development utilities
|
||||||
excludedPackages = [ "scripts" ];
|
excludedPackages = [ "scripts" ];
|
||||||
|
|
||||||
|
# Fix up reported version
|
||||||
|
postPatch = ''echo ${version} > version.txt'';
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
|
|
Loading…
Reference in a new issue