nur-packages

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

default.nix (696B)


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