diff --git a/sumo.nix b/sumo.nix new file mode 100644 index 0000000..3a21f5f --- /dev/null +++ b/sumo.nix @@ -0,0 +1,29 @@ +with import { }; + +stdenv.mkDerivation { + name = "sumo-0.25.0"; + + src = fetchurl { + url = "http://www.dlr.de/ts/en/Portaldata/16/Resources/projekte/sumo/sumo-src-0.25.0.zip"; + sha256 = "0qg1hwcf9z2v2lk3csvhq2yhk4x4kliipib67fkbv808b5jczlqr"; + }; + + buildInputs = [ + unzip lzma bzip2 zlib + libjpeg libtiff + openssl + mesa xorg.libX11 + fox_1_6 + 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; + }; +}