a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
29 lines
692 B
Nix
29 lines
692 B
Nix
{ stdenv
|
|
, lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "dotenv-linter";
|
|
version = "3.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dotenv-linter";
|
|
repo = "dotenv-linter";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-HCP1OUWm/17e73TbinmDxYUi18/KXxppstyUSixjlSo=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-4r4NTq2rLnpmm/nwxJ9RoN2+JrUI6XKGfYFI78NY710=";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
meta = with lib; {
|
|
description = "Lightning-fast linter for .env files. Written in Rust";
|
|
homepage = "https://dotenv-linter.github.io";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ humancalico ];
|
|
};
|
|
}
|