34 lines
860 B
Nix
34 lines
860 B
Nix
{ stdenv, fetchurl, unzip
|
|
, lzma, bzip2, zlib, libjpeg, libtiff, openssl
|
|
, mesa, xorg
|
|
, fox, xercesc, proj, gdal, hdf5, curl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.25.0";
|
|
name = "sumo-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.dlr.de/ts/en/Portaldata/16/Resources/projekte/sumo/sumo-src-${version}.zip";
|
|
sha256 = "0qg1hwcf9z2v2lk3csvhq2yhk4x4kliipib67fkbv808b5jczlqr";
|
|
};
|
|
|
|
buildInputs = [
|
|
unzip lzma bzip2 zlib
|
|
libjpeg libtiff
|
|
openssl
|
|
mesa xorg.libX11
|
|
fox
|
|
xercesc
|
|
proj gdal
|
|
hdf5
|
|
curl
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://software.dlr.de/p/sumo/home;
|
|
description = "SUMO is an open source, highly portable, microscopic and continuous road traffic simulation package designed to handle large road networks";
|
|
platforms = platforms.all;
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|