1 { lib, buildGoModule, fetchFromGitHub }:
5 version = "unstable-2023-09-06";
7 src = fetchFromGitHub {
10 # c-for-go is not versioned upstream, so we pin it to a commit hash.
11 rev = "a1822f0a09c1c6c89fc12aeb691a27b3221c73f3";
12 hash = "sha256-P7lrAVyZ6fV63gVvLvsKt14pi32Pr2eVLT2mTdHHdrQ=";
15 vendorHash = "sha256-u/GWniw5UQBOtnj3ErdxL80j2Cv6cbMwvP1im3dZ2cM=";
18 homepage = "https://github.com/xlab/c-for-go";
19 changelog = "https://github.com/xlab/c-for-go/releases/";
20 description = "Automatic C-Go Bindings Generator for the Go Programming Language";
21 license = licenses.mit;
22 maintainers = with maintainers; [ msanft ];
23 mainProgram = "c-for-go";