Commit cba9b14a authored by Fabian Affolter's avatar Fabian Affolter Committed by github-actions[bot]
Browse files

python312Packages.wheel-inspect: refactor

(cherry picked from commit b3bf51cb)
parent e418f111
Loading
Loading
Loading
Loading
+7 −12
Original line number Diff line number Diff line
@@ -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";
  };
}