overlay/salt-lint/default.nix

32 lines
763 B
Nix
Raw Normal View History

2024-05-15 13:43:06 +00:00
{ python3Packages
2024-04-30 15:46:53 +00:00
, fetchFromGitHub
, lib
}:
2024-05-15 13:43:06 +00:00
python3Packages.buildPythonPackage rec {
2024-04-30 15:46:53 +00:00
pname = "salt-lint";
version = "0.9.2";
2024-05-27 07:40:25 +00:00
format = "setuptools";
2024-04-30 15:46:53 +00:00
src = fetchFromGitHub {
owner = "warpnet";
repo = "salt-lint";
rev = "v${version}";
hash = "sha256-Q/blaqDqs9gPrMfN+e1hkCi9IPMM0osPYTDsT6UODB4=";
};
2024-05-15 13:43:06 +00:00
propagatedBuildInputs = with python3Packages; [
pathspec
pyyaml
2024-04-30 15:46:53 +00:00
];
meta = with lib; {
description = "A command-line utility that checks for best practices in SaltStack";
mainProgram = "salt-lint";
homepage = "https://github.com/warpnet/salt-lint";
2024-05-27 07:40:25 +00:00
changelog = "https://github.com/warpnet/salt-lint/blob/main/CHANGELOG.md";
2024-04-30 15:46:53 +00:00
license = licenses.mit;
maintainers = with maintainers; [ fleaz ];
};
}