Unverified Commit 31fa2e5f authored by Nick Cao's avatar Nick Cao
Browse files

python311Packages.tcxreader: modernize

parent 7dae4fd8
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, pythonOlder
}:
@@ -8,9 +9,9 @@
buildPythonPackage rec {
  pname = "tcxreader";
  version = "0.4.5";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "alenrajsp";
@@ -19,6 +20,10 @@ buildPythonPackage rec {
    hash = "sha256-CiOLcev9fo2BPgnPZZ2borU25f/gKISqRAapAHgLN3w=";
  };

  nativeBuildInputs = [
    poetry-core
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];