8 pin = lib.importJSON ./pin.json;
11 rustPlatform.buildRustPackage {
12 inherit (pin) pname version;
16 # upstream doesn't ship a Cargo.lock, is generated by the update script
18 cp ${./Cargo.lock} Cargo.lock
21 cargoLock.lockFile = ./Cargo.lock;
23 outputs = [ "out" "dev" ];
25 # Headers are not handled by cargo nor buildRustPackage
27 install -Dm644 include/rure.h -t "$dev/include"
30 passthru.updateScript = ./update.sh;
33 description = "A C API for Rust's regular expression library";
34 homepage = "https://crates.io/crates/rure";
39 maintainers = [ lib.maintainers.sternenseemann ];