python311Packages.tcxreader: modernize

This commit is contained in:
Nick Cao 2023-11-26 10:31:44 -05:00
parent 7dae4fd841
commit 31fa2e5f9d
No known key found for this signature in database

View File

@ -1,6 +1,7 @@
{ 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
];