Merge pull request #111685 from humancalico/dotenv-linter
This commit is contained in:
25
pkgs/development/tools/analysis/dotenv-linter/default.nix
Normal file
25
pkgs/development/tools/analysis/dotenv-linter/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "dotenv-linter";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dotenv-linter";
|
||||
repo = "dotenv-linter";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-3Lj5GtWGyWDkZPhxYQu7UWzmh7TO5wk1UJ0lek1jTto=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-zdvIC+VUASjhrlyRts+JJeh5xdcdpX6Ixle6HhbMJJU=";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user