11 version = "unstable-2024-03-03";
12 src = fetchFromGitHub {
14 repo = "pan-bindings";
15 rev = "4361d30f1c5145a70651c259f2d56369725b0d15";
16 hash = "sha256-0WxrgXTCM+BwGcjjWBBKiZawje2yxB5RRac6Sk5t3qc=";
18 goDeps = (buildGoModule {
19 name = "pan-bindings-goDeps";
22 vendorHash = "sha256-7EitdEJTRtiM29qmVnZUM6w68vCBI8mxZhCA7SnAxLA=";
27 name = "pan-bindings";
32 "-DBUILD_SHARED_LIBS=1"
39 cp -r --reflink=auto ${goDeps.goModules} go/vendor
54 description = "SCION PAN Bindings for C, C++, and Python";
55 homepage = "https://github.com/lschulz/pan-bindings";
56 license = licenses.asl20;
57 maintainers = with maintainers; [ matthewcroughan ];
58 mainProgram = "pan-bindings";
59 platforms = platforms.all;