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

28 lines
645 B
Nix
Raw Normal View History

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