urweb: 20180616 -> 20190217

This commit is contained in:
Yurii Rashkovskii 2019-05-30 14:28:39 -07:00 committed by Austin Seipp
parent 3a26a1fe94
commit a41b38eb26

View File

@ -1,17 +1,17 @@
{ stdenv, fetchurl, file, openssl, mlton { stdenv, fetchurl, file, openssl, mlton
, mysql, postgresql, sqlite, gcc , mysql, postgresql, sqlite, gcc, icu
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "urweb-${version}"; name = "urweb-${version}";
version = "20180616"; version = "20190217";
src = fetchurl { src = fetchurl {
url = "https://github.com/urweb/urweb/releases/download/${version}/${name}.tar.gz"; url = "https://github.com/urweb/urweb/releases/download/${version}/${name}.tar.gz";
sha256 = "04iy2ky78q6w0d2xyfz2a1k26g2yrwsh1hw1bgs5ia9v3ih965r1"; sha256 = "1cl0x0sy7w1lazszc8q06q3wx0x0rczxh27vimrsw54s6s9y096s";
}; };
buildInputs = [ openssl mlton mysql.connector-c postgresql sqlite ]; buildInputs = [ openssl mlton mysql.connector-c postgresql sqlite icu ];
prePatch = '' prePatch = ''
sed -e 's@/usr/bin/file@${file}/bin/file@g' -i configure sed -e 's@/usr/bin/file@${file}/bin/file@g' -i configure