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