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

View File

@@ -10,5 +10,6 @@ self: pkgs: with pkgs; {
openslide = callPackage ./openslide { };
openslide-python = callPackage ./openslide/python.nix { };
}
sumo = callPackage ./sumo.nix { };
}

View File

@@ -1,15 +1,19 @@
with import <nixpkgs> { };
{ stdenv, fetchurl, unzip
, lzma, bzip2, zlib, libjpeg, libtiff, openssl
, mesa, xorg
, fox_1_6, xercesc, proj, gdal, hdf5, curl }:
stdenv.mkDerivation {
name = "sumo-0.25.0";
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-0.25.0.zip";
url = "http://www.dlr.de/ts/en/Portaldata/16/Resources/projekte/sumo/sumo-src-${version}.zip";
sha256 = "0qg1hwcf9z2v2lk3csvhq2yhk4x4kliipib67fkbv808b5jczlqr";
};
buildInputs = [
unzip lzma bzip2 zlib
unzip lzma bzip2 zlib
libjpeg libtiff
openssl
mesa xorg.libX11