Skip to content

Commit

Permalink
c-for-go: init at a1822f0
Browse files Browse the repository at this point in the history
  • Loading branch information
msanft committed Jan 9, 2024
1 parent 792a7dd commit 8f6f6b4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/by-name/c-/c-for-go/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ 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";
};
}

0 comments on commit 8f6f6b4

Please sign in to comment.