nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (931B)


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