package.nix (813B)
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 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "JoanMartin"; 16 repo = "trackanimation"; 17 tag = "v${version}"; 18 hash = "sha256-fLubRKq+3wQh16xSdqJmNMy4zw83RiSQj8C6jNV4fV8="; 19 }; 20 21 build-system = with python3Packages; [ setuptools ]; 22 23 dependencies = with python3Packages; [ 24 geopy 25 gpxpy 26 pillow 27 matplotlib 28 mplleaflet 29 pandas 30 tqdm 31 smopy 32 ]; 33 34 pythonImportsCheck = [ "trackanimation" ]; 35 36 meta = { 37 description = "GPS Track Animation Library"; 38 homepage = "https://github.com/JoanMartin/trackanimation"; 39 license = lib.licenses.asl20; 40 maintainers = [ lib.maintainers.sikmir ]; 41 }; 42 }