1 { lib, fetchCrate, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
9 hash = "sha256-virK/TpYBmwTf5UCQCqC/df8iKYAzPBfsQ1nQkFKF2Y=";
12 cargoHash = "sha256-qjFTv15FSvgYgQ4nTEIo0KUqaCbg6E+W5B2B5BH6sp4=";
14 cargoBuildFlags = [ "--bin=dotenvy" "--features=cli" ];
16 # just run unittests and skip doc-tests
17 cargoTestFlags = [ "--lib" ];
20 description = "Loads environment variables from a .env file";
21 homepage = "https://github.com/allan2/dotenvy";
22 license = lib.licenses.mit;
23 maintainers = with lib.maintainers; [ phlip9 ];