nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 101 lines 1.6 kB view raw
1{ 2 lib, 3 bzip2, 4 cmake, 5 eigen, 6 fetchFromGitHub, 7 ffmpeg, 8 fox_1_6, 9 gdal, 10 git, 11 gl2ps, 12 gpp, 13 gtest, 14 jdk, 15 libGL, 16 libGLU, 17 libX11, 18 libjpeg, 19 libpng, 20 libtiff, 21 libxcrypt, 22 openscenegraph, 23 proj, 24 python3, 25 python3Packages, 26 stdenv, 27 swig, 28 xercesc, 29 libxrender, 30 libxrandr, 31 libxft, 32 libxfixes, 33 libxext, 34 libxcursor, 35 zlib, 36}: 37 38stdenv.mkDerivation (finalAttrs: { 39 pname = "sumo"; 40 version = "1.25.0"; 41 42 src = fetchFromGitHub { 43 owner = "eclipse-sumo"; 44 repo = "sumo"; 45 tag = "v${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; 46 hash = "sha256-rUa5DpoBfnviSEmzPEiVnZU0KGavAIOFoysQ74uTll0="; 47 fetchSubmodules = true; 48 }; 49 50 nativeBuildInputs = [ 51 cmake 52 git 53 swig 54 ]; 55 56 buildInputs = [ 57 bzip2 58 eigen 59 ffmpeg 60 fox_1_6 61 gdal 62 gl2ps 63 gpp 64 gtest 65 jdk 66 libGL 67 libGLU 68 libjpeg 69 libpng 70 libtiff 71 libxcrypt 72 openscenegraph 73 proj 74 python3Packages.setuptools 75 xercesc 76 zlib 77 python3 78 libX11 79 libxcursor 80 libxext 81 libxfixes 82 libxft 83 libxrandr 84 libxrender 85 ]; 86 87 meta = { 88 description = "SUMO traffic simulator"; 89 longDescription = '' 90 Eclipse SUMO is an open source, highly 91 portable, microscopic and continuous traffic simulation package 92 designed to handle large networks. It allows for intermodal 93 simulation including pedestrians and comes with a large set of 94 tools for scenario creation. 95 ''; 96 homepage = "https://github.com/eclipse/sumo"; 97 license = lib.licenses.epl20; 98 maintainers = [ ]; 99 teams = [ lib.teams.geospatial ]; 100 }; 101})