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