lol
1{ stdenv
2, lib
3, rustPlatform
4, fetchFromGitHub
5, Security
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "dotenv-linter";
10 version = "3.3.0";
11
12 src = fetchFromGitHub {
13 owner = "dotenv-linter";
14 repo = "dotenv-linter";
15 rev = "v${version}";
16 sha256 = "sha256-HCP1OUWm/17e73TbinmDxYUi18/KXxppstyUSixjlSo=";
17 };
18
19 cargoSha256 = "sha256-4r4NTq2rLnpmm/nwxJ9RoN2+JrUI6XKGfYFI78NY710=";
20
21 buildInputs = lib.optional stdenv.isDarwin Security;
22
23 meta = with lib; {
24 description = "Lightning-fast linter for .env files. Written in Rust";
25 homepage = "https://dotenv-linter.github.io";
26 license = licenses.mit;
27 maintainers = with maintainers; [ humancalico ];
28 };
29}