nur-packages

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

default.nix (705B)


      1 { lib, stdenv, fetchFromGitHub, autoreconfHook, gtk-doc, pkg-config
      2 , cairo, expat, glib
      3 }:
      4 
      5 stdenv.mkDerivation rec {
      6   pname = "memphis";
      7   version = "0.2.3";
      8 
      9   src = fetchFromGitHub {
     10     owner = "jiuka";
     11     repo = "memphis";
     12     rev = version;
     13     hash = "sha256-mBRu2EHEuoHz3scoVaYqAMBZXbG7XkKwdHe9O0gaDBk=";
     14   };
     15 
     16   nativeBuildInputs = [
     17     autoreconfHook
     18     gtk-doc
     19     pkg-config
     20   ];
     21 
     22   buildInputs = [
     23     cairo
     24     expat
     25     glib
     26   ];
     27 
     28   meta = with lib; {
     29     description = "Map-rendering for OpenStreetMap";
     30     inherit (src.meta) homepage;
     31     license = licenses.lgpl2Plus;
     32     maintainers = [ maintainers.sikmir ];
     33     platforms = platforms.linux;
     34     skip.ci = stdenv.isDarwin;
     35   };
     36 }