nixpkgs/pkgs/tools/misc/routino/default.nix

28 lines
646 B
Nix
Raw Normal View History

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 {
url = "https://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;
maintainers = with maintainers; [ dotlambda ];
2017-09-24 21:04:04 +02:00
platforms = with platforms; linux;
};
}