2017-09-24 21:04:04 +02:00
|
|
|
{ stdenv, fetchurl, perl, zlib, bzip2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-09-28 19:29:49 +02:00
|
|
|
name = "routino-${version}";
|
2017-09-24 21:04:04 +02:00
|
|
|
version = "3.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-28 19:29:49 +02:00
|
|
|
url = "http://routino.org/download/${name}.tgz";
|
2017-09-24 21:04:04 +02:00
|
|
|
sha256 = "0lkmpi8gn7qf40cx93jcp7nxa9dfwi1d6rjrhcqbdymszzm33972";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ perl ];
|
2017-09-28 19:29:49 +02:00
|
|
|
|
2017-09-24 21:04:04 +02:00
|
|
|
buildInputs = [ zlib bzip2 ];
|
|
|
|
|
2017-09-28 19:29:49 +02:00
|
|
|
outputs = [ "out" "doc" ];
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
2017-09-24 21:04:04 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.routino.org/;
|
|
|
|
description = "OpenStreetMap Routing Software";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainter = with maintainers; [ dotlambda ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|