···11111212rustPlatform.buildRustPackage (finalAttrs: {
1313 pname = "holo-daemon";
1414- version = "0.7.0";
1414+ version = "0.8.0";
15151616 src = fetchFromGitHub {
1717 owner = "holo-routing";
1818 repo = "holo";
1919 tag = "v${finalAttrs.version}";
2020- hash = "sha256-wASY+binAflxaXjKdSfUXS8jgdEHjdIF3AOzjN/a1Fo=";
2020+ hash = "sha256-8cScq/6e9u3rDilnjT6mAbEudXybNj3YUicYiEgoCyE=";
2121 };
22222323 passthru.updateScript = nix-update-script { };
24242525- cargoHash = "sha256-5X6a86V3Y9+KK0kGbS/ovelqXyLv15gQRFI7GhiYBjY=";
2525+ cargoHash = "sha256-YZ2c6W6CCqgyN+6i7Vh5fWLKw8L4pUqvq/tDO/Q/kf0=";
26262727 # Use rust nightly features
2828 RUSTC_BOOTSTRAP = 1;
···3535 buildInputs = [
3636 pcre2
3737 ];
3838-3939- # Might not be needed if latest nightly compiler version is used
4040- preConfigure = ''
4141- # Find all lib.rs and main.rs files and add required unstable features
4242- # Add the feature flag at the top of the file if not present`
4343- find . -name "lib.rs" -o -name "main.rs" | while read -r file; do
4444- for feature in extract_if let_chains hash_extract_if; do
4545- if ! grep -q "feature.*$feature" "$file"; then
4646- sed -i "1i #![feature($feature)]" "$file"
4747- fi
4848- done
4949- done
5050- '';
51385239 meta = {
5340 description = "`holo` daemon that provides the routing protocols, tools and policies";