default.nix (1007B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication { 8 pname = "gpx-converter"; 9 version = "0-unstable-2023-04-07"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "nidhaloff"; 14 repo = "gpx-converter"; 15 rev = "0dac5d7eaf83d7bb99631b52d4d210dc010e4b60"; 16 hash = "sha256-bT94phfkJiOQ8rZn783qOmIph6ck27z18rQQby9uEeg="; 17 }; 18 19 postPatch = '' 20 substituteInPlace setup.py \ 21 --replace-fail "'pytest-runner'," "" 22 ''; 23 24 build-system = with python3Packages; [ setuptools ]; 25 26 dependencies = with python3Packages; [ 27 gpxpy 28 numpy 29 pandas 30 ]; 31 32 nativeCheckInputs = with python3Packages; [ 33 pytestCheckHook 34 ]; 35 36 disabledTests = [ "test_gpx_to_dictionary" ]; 37 38 meta = { 39 description = "Python package for manipulating gpx files and easily convert gpx to other different formats"; 40 homepage = "https://github.com/nidhaloff/gpx-converter"; 41 license = lib.licenses.mit; 42 maintainers = [ lib.maintainers.sikmir ]; 43 }; 44 }