3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/analysis/dotenv-linter/default.nix

26 lines
616 B
Nix
Raw Normal View History

2021-02-03 00:03:22 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "dotenv-linter";
2021-06-15 21:52:07 +01:00
version = "3.1.0";
2021-02-03 00:03:22 +00:00
src = fetchFromGitHub {
owner = "dotenv-linter";
repo = "dotenv-linter";
rev = "v${version}";
2021-06-15 21:52:07 +01:00
sha256 = "sha256-hhaMI2Z97aT/8FxxtWpn+o3BSo26iyBP+ucpO3x4AbQ=";
2021-02-03 00:03:22 +00:00
};
2021-06-15 21:52:07 +01:00
cargoSha256 = "sha256-F9Xyg8/qp0j0+jyd5EVe2idocubzu+Cj6yAwrHuabvM=";
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 ];
};
}