nixpkgs/pkgs/development/tools/analysis/dotenv-linter/default.nix

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

30 lines
692 B
Nix
Raw Normal View History

{ stdenv
, lib
2021-02-03 00:03:22 +00:00
, rustPlatform
, fetchFromGitHub
, Security
2021-02-03 00:03:22 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "dotenv-linter";
2022-02-11 06:27:37 +00:00
version = "3.2.0";
2021-02-03 00:03:22 +00:00
src = fetchFromGitHub {
owner = "dotenv-linter";
repo = "dotenv-linter";
rev = "v${version}";
2022-02-11 06:27:37 +00:00
sha256 = "sha256-YWL1aPcMdU4lo7h/T2sdl2H6qnx3lfMtV39Ak4yP88w=";
2021-02-03 00:03:22 +00:00
};
2022-02-11 06:27:37 +00:00
cargoSha256 = "sha256-q59hpnXc00OzrJk1KOWbIPQYfIE+7ku9XtTDXHgwQBg=";
2021-02-03 00:03:22 +00:00
buildInputs = lib.optional stdenv.isDarwin Security;
2021-02-03 00:03:22 +00:00
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 ];
};
}