salt-lint: Use format=setuptools

This commit is contained in:
fleaz 2024-05-27 09:40:25 +02:00
parent 54336cf9d4
commit c598bf71e3

View file

@ -5,7 +5,7 @@
python3Packages.buildPythonPackage rec {
pname = "salt-lint";
version = "0.9.2";
pyproject = true;
format = "setuptools";
src = fetchFromGitHub {
owner = "warpnet";
@ -14,10 +14,6 @@ python3Packages.buildPythonPackage rec {
hash = "sha256-Q/blaqDqs9gPrMfN+e1hkCi9IPMM0osPYTDsT6UODB4=";
};
nativeBuildInputs = [
python3Packages.setuptools
];
propagatedBuildInputs = with python3Packages; [
pathspec
pyyaml
@ -27,7 +23,7 @@ python3Packages.buildPythonPackage rec {
description = "A command-line utility that checks for best practices in SaltStack";
mainProgram = "salt-lint";
homepage = "https://github.com/warpnet/salt-lint";
changelog = "https://github.com/adrienverge/yamllint/blob/v${version}/CHANGELOG.rst";
changelog = "https://github.com/warpnet/salt-lint/blob/main/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fleaz ];
};