add pkgconfig
All checks were successful
Rust / build (push) Successful in 2m41s

This commit is contained in:
Vinzenz Schroeter 2025-09-28 23:12:43 +02:00
parent 421522d963
commit 44ef4bb6d7
2 changed files with 10 additions and 0 deletions

View file

@ -48,6 +48,11 @@
xe
xz
];
postInstall = ''
mkdir -p $out/lib/pkgconfig
sed "s:\$out:$out:g" ${./servicepoint-binding-uniffi.pc.in} | sed "s:\$version:$version:g" > $out/lib/pkgconfig/servicepoint-binding-uniffi.pc
'';
};
default = selfPkgs.servicepoint-binding-uniffi;
}

View file

@ -0,0 +1,5 @@
Name: servicepoint-binding-uniffi
Description: UniFFI bindings for the servicepoint library
Version: $version
URL: https://git.berlin.ccc.de/servicepoint/servicepoint-binding-uniffi
Libs: -L$out/lib -lservicepoint_binding_uniffi