nur-packages

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

default.nix (805B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   s2sphere,
      6 }:
      7 
      8 python3Packages.buildPythonApplication rec {
      9   pname = "py-staticmaps";
     10   version = "0.3.0";
     11 
     12   src = fetchFromGitHub {
     13     owner = "flopp";
     14     repo = "py-staticmaps";
     15     rev = "v${version}";
     16     hash = "sha256-vW457HbdDDhfz8hsvEN3/HJmIHKdrRDVNuhSpZXoZ78=";
     17   };
     18 
     19   dependencies = with python3Packages; [
     20     appdirs
     21     geographiclib
     22     pillow
     23     pycairo
     24     python-slugify
     25     requests
     26     s2sphere
     27     svgwrite
     28   ];
     29 
     30   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     31 
     32   meta = {
     33     description = "A python module to create static map images with markers, geodesic lines, etc";
     34     homepage = "https://github.com/flopp/py-staticmaps";
     35     license = lib.licenses.mit;
     36     maintainers = [ lib.maintainers.sikmir ];
     37   };
     38 }