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

28 lines
655 B
Nix
Raw Normal View History

{ stdenv
, lib
2021-02-03 00:03:22 +00:00
, rustPlatform
, fetchFromGitHub
}:
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
meta = with lib; {
broken = stdenv.isDarwin;
2021-02-03 00:03:22 +00:00
description = "Lightning-fast linter for .env files. Written in Rust";
homepage = "https://dotenv-linter.github.io";
license = licenses.mit;
maintainers = with maintainers; [ humancalico ];
};
}