github-release: 0.10.0 -> 0.10.1-unstable-2024-06-25

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2024-07-03 10:29:27 +02:00
parent dbb0ec2270
commit ab53fe1e43

View File

@ -1,34 +1,19 @@
{ buildGoModule, fetchFromGitHub, fetchpatch, lib, testers, github-release }:
{ buildGoModule, fetchFromGitHub, lib, testers, github-release }:
buildGoModule rec {
pname = "github-release";
version = "0.10.0";
version = "0.10.1-unstable-2024-06-25";
src = fetchFromGitHub {
owner = "github-release";
repo = "github-release";
rev = "v${version}";
hash = "sha256-J5Y0Kvon7DstTueCsoYvw6x4cOH/C1IaVArE0bXtZts=";
rev = "d250e89a7bf00d54e823b169c3a4722a55ac67b0";
hash = "sha256-QDImy9VNJ3hfGVCpMoJ72Za3CiM3SVNH1D9RFHVM+4I=";
};
vendorHash = null;
patches = [
# Update version info
(fetchpatch {
url = "https://github.com/github-release/github-release/commit/ee13bb17b74135bfe646d9be1807a6bc577ba7c6.patch";
hash = "sha256-9ZcHwai0HOgapDcpvn3xssrVP9cuNAz9rTgrR4Jfdfg=";
})
# Add Go Modules support.
# See https://github.com/Homebrew/homebrew-core/pull/162414.
(fetchpatch {
url = "https://github.com/github-release/github-release/pull/129/commits/074f4e8e1688642f50a7a3cc92b5777c7b484139.patch";
hash = "sha256-OBFbOvNhqcNiuSCP0AfClntj7y5habn+r2eBkmClsgI=";
})
];
ldflags = [ "-s" "-w" ];
ldflags = [ "-s" ];
passthru.tests.version = testers.testVersion {
package = github-release;