sumo: Convert to new overlay system
This commit is contained in:
33
pkgs/sumo.nix
Normal file
33
pkgs/sumo.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, unzip
|
||||
, lzma, bzip2, zlib, libjpeg, libtiff, openssl
|
||||
, mesa, xorg
|
||||
, fox_1_6, 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_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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user