Unverified Commit 4e1582c0 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

Merge pull request #279800 from msanft/msanft/c-for-go

c-for-go: init at `unstable-2023-09-06`
parents 77be1fdf 8f6f6b4e
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule {
  pname = "c-for-go";
  version = "unstable-2023-09-06";

  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=";
  };

  vendorHash = "sha256-u/GWniw5UQBOtnj3ErdxL80j2Cv6cbMwvP1im3dZ2cM=";

  meta = with lib; {
    homepage = "https://github.com/xlab/c-for-go";
    description = "Automatic C-Go Bindings Generator for the Go Programming Language";
    license = licenses.mit;
    maintainers = with maintainers; [ msanft ];
    mainProgram = "c-for-go";
  };
}