Language-specific package helpers: Difference between revisions
imported>Peterbecich purs-nix |
imported>Savannidgerinel Added crane to the list of Rust crates |
||
Line 59: | Line 59: | ||
* [https://github.com/kolloch/crate2nix crate2nix] Uses `buildRustCrate` from `nixpkgs` to build all dependencies independently. Either check in the generated build file or use it via "import from derivation". | * [https://github.com/kolloch/crate2nix crate2nix] Uses `buildRustCrate` from `nixpkgs` to build all dependencies independently. Either check in the generated build file or use it via "import from derivation". | ||
* [https://github.com/tenx-tech/cargo2nix cargo2nix] Uses a `mkCrate` wrapper around Cargo and `rustc` to build all dependencies independently. Supports cross-compilation, alternative registries, and `nix-shell` integration. | * [https://github.com/tenx-tech/cargo2nix cargo2nix] Uses a `mkCrate` wrapper around Cargo and `rustc` to build all dependencies independently. Supports cross-compilation, alternative registries, and `nix-shell` integration. | ||
* [https://github.com/ipetkov/crane crane] Builds rust crate dependencies in one derivation and the crate itself in another. Boilerplate setup for running test suites. | |||
Outdated or deprecated projects: | Outdated or deprecated projects: |