98eb3e9ef5
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
34 lines
867 B
Nix
34 lines
867 B
Nix
{
|
|
lib,
|
|
mkYarnPackage,
|
|
fetchYarnDeps,
|
|
fetchFromGitHub,
|
|
nix-update-script
|
|
}: mkYarnPackage rec {
|
|
pname = "dotenv-cli";
|
|
version = "7.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "entropitor";
|
|
repo = "dotenv-cli";
|
|
rev = "v${version}";
|
|
hash = "sha256-kR9LSHvbvKLuJBGrsmYMeqF3s8SF+/99OeNlKp9azI8=";
|
|
};
|
|
|
|
packageJSON = ./package.json;
|
|
offlineCache = fetchYarnDeps {
|
|
yarnLock = "${src}/yarn.lock";
|
|
hash = "sha256-Sx5DHUAXquqMqJgvhvHcRPqkfWN49+6icUQIos6OHCg=";
|
|
};
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "CLI to load dotenv files";
|
|
homepage = "https://github.com/entropitor/dotenv-cli";
|
|
changelog = "https://github.com/entropitor/dotenv-cli/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "dotenv";
|
|
maintainers = with lib.maintainers; [ pyrox0 ];
|
|
};
|
|
}
|