1 { lib, rustPlatform, fetchCrate }:
3 rustPlatform.buildRustPackage rec {
9 hash = "sha256-YhluLS4tFMibFrDzgIvNtfjM5dAqJQvygeZocKn3+Jg=";
12 cargoLock.lockFile = ./Cargo.lock;
15 ln -s ${./Cargo.lock} Cargo.lock
19 description = "Tool to convert TOML files to Nix expressions";
20 mainProgram = "toml2nix";
21 homepage = "https://crates.io/crates/toml2nix";
22 license = with licenses; [ mit /* or */ asl20 ];
23 maintainers = with maintainers; [ figsoda ];