default.nix (737B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 python3Packages, 6 smopy, 7 }: 8 9 python3Packages.buildPythonApplication rec { 10 pname = "trackanimation"; 11 version = "1.0.5"; 12 13 src = fetchFromGitHub { 14 owner = "JoanMartin"; 15 repo = "trackanimation"; 16 rev = "v${version}"; 17 hash = "sha256-fLubRKq+3wQh16xSdqJmNMy4zw83RiSQj8C6jNV4fV8="; 18 }; 19 20 dependencies = with python3Packages; [ 21 geopy 22 gpxpy 23 pillow 24 matplotlib 25 mplleaflet 26 pandas 27 tqdm 28 smopy 29 ]; 30 31 pythonImportsCheck = [ "trackanimation" ]; 32 33 meta = { 34 description = "GPS Track Animation Library"; 35 homepage = "https://github.com/JoanMartin/trackanimation"; 36 license = lib.licenses.asl20; 37 maintainers = [ lib.maintainers.sikmir ]; 38 }; 39 }