c-for-go: unstable-2023-09-06 -> 1.3.0

This commit is contained in:
Moritz Sanft 2024-11-17 20:41:07 +01:00
parent 7e852ea9ea
commit e321ffd98a
No known key found for this signature in database
GPG Key ID: 335D28368B1DA615

View File

@ -1,25 +1,27 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule {
buildGoModule rec {
pname = "c-for-go";
version = "unstable-2023-09-06";
version = "1.3.0";
src = fetchFromGitHub {
owner = "xlab";
repo = "c-for-go";
# c-for-go is not versioned upstream, so we pin it to a commit hash.
rev = "a1822f0a09c1c6c89fc12aeb691a27b3221c73f3";
hash = "sha256-P7lrAVyZ6fV63gVvLvsKt14pi32Pr2eVLT2mTdHHdrQ=";
rev = "v${version}";
hash = "sha256-XU+gmQBhQjoiKINfgPQ6bVvslPEFOvF3ZbRaWZE/ZzA=";
};
vendorHash = "sha256-u/GWniw5UQBOtnj3ErdxL80j2Cv6cbMwvP1im3dZ2cM=";
vendorHash = "sha256-4Uw0RYKzZOSVmtdChv/LQQCYU+oVqb1KZbewEW10omw=";
meta = with lib; {
# Almost all tests fail on the release branch, but package still compiles and works fine.
doCheck = false;
meta = {
homepage = "https://github.com/xlab/c-for-go";
changelog = "https://github.com/xlab/c-for-go/releases/";
description = "Automatic C-Go Bindings Generator for the Go Programming Language";
license = licenses.mit;
maintainers = with maintainers; [ msanft ];
license = lib.licenses.mit;
maintainers = [ lib.maintainers.msanft ];
mainProgram = "c-for-go";
};
}