python312Packages.wheel-inspect: refactor

This commit is contained in:
Fabian Affolter
2025-05-17 23:12:30 +02:00
parent 6e7d5974b8
commit b3bf51cbb6
@@ -21,7 +21,7 @@ buildPythonPackage rec {
version = "1.7.2";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jwodder";
@@ -35,11 +35,9 @@ buildPythonPackage rec {
"headerparser"
];
nativeBuildInputs = [
hatchling
];
build-system = [ hatchling ];
propagatedBuildInputs = [
dependencies = [
attrs
entry-points-txt
headerparser
@@ -49,12 +47,9 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
setuptools
pytestCheckHook
pytest-cov-stub
];
checkInputs = [
setuptools
jsonschema
];
@@ -67,10 +62,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Extract information from wheels";
mainProgram = "wheel2json";
homepage = "https://github.com/jwodder/wheel-inspect";
changelog = "https://github.com/wheelodex/wheel-inspect/releases/tag/v${version}";
license = with licenses; [ mit ];
changelog = "https://github.com/wheelodex/wheel-inspect/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ ayazhafiz ];
mainProgram = "wheel2json";
};
}