mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
python3Packages.gpxpy: use unittestCheckHook
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
python,
|
||||
unittestCheckHook,
|
||||
lxml,
|
||||
setuptools,
|
||||
}:
|
||||
@@ -24,9 +24,7 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [ lxml ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest test
|
||||
'';
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
meta = {
|
||||
description = "Python GPX (GPS eXchange format) parser";
|
||||
|
||||
Reference in New Issue
Block a user