sumo: Convert to new overlay system

This commit is contained in:
Tyson Whitehead
2018-01-18 00:25:57 -05:00
parent fa856eb582
commit e44edd0230
2 changed files with 11 additions and 6 deletions

33
pkgs/sumo.nix Normal file
View 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;
};
}