about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/routino/default.nix
blob: 650ac9f660aa86560324f335bf366df5b73a7aff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, perl, zlib, bzip2 }:

stdenv.mkDerivation rec {
  name = "routino-${version}";
  version = "3.2";

  src = fetchurl {
    url = "https://routino.org/download/${name}.tgz";
    sha256 = "0lkmpi8gn7qf40cx93jcp7nxa9dfwi1d6rjrhcqbdymszzm33972";
  };

  nativeBuildInputs = [ perl ];

  buildInputs = [ zlib bzip2 ];

  outputs = [ "out" "doc" ];

  makeFlags = [ "prefix=$(out)" ];

  meta = with stdenv.lib; {
    homepage = http://www.routino.org/;
    description = "OpenStreetMap Routing Software";
    license = licenses.agpl3;
    maintainers = with maintainers; [ dotlambda ];
    platforms = with platforms; linux;
  };
}