Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
677 B
Nix
Raw Permalink Normal View History

2024-05-29 09:38:07 -07:00
{
lib,
fetchCrate,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "dotenvy";
version = "0.15.7";
src = fetchCrate {
inherit pname version;
hash = "sha256-virK/TpYBmwTf5UCQCqC/df8iKYAzPBfsQ1nQkFKF2Y=";
};
cargoHash = "sha256-eDmSPl1wsEriOtesv0KpLlpdeJPSQzbwh+QeZcFzDbc=";
2024-05-29 09:38:07 -07:00
cargoBuildFlags = [
"--bin=dotenvy"
"--features=cli"
];
# just run unittests and skip doc-tests
cargoTestFlags = [ "--lib" ];
meta = {
description = "Loads environment variables from a .env file";
homepage = "https://github.com/allan2/dotenvy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ phlip9 ];
};
}