easy-format: 1.0.2 -> 1.1.0

This commit is contained in:
Vincent Laporte 2015-11-30 11:45:55 +01:00
parent dc977f78a8
commit 2ccc9a8bd1

View File

@ -1,25 +1,27 @@
{stdenv, fetchurl, ocaml, findlib}: { stdenv, fetchzip, ocaml, findlib }:
let let
pname = "easy-format"; pname = "easy-format";
version = "1.0.2"; version = "1.1.0";
webpage = "http://mjambon.com/${pname}.html";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchzip {
url = "http://mjambon.com/releases/${pname}/${name}.tar.gz"; url = "https://github.com/mjambon/${pname}/archive/v${version}.tar.gz";
sha256 = "07wlgprqvk92z0p2xzbnvh312ca6gvhy3xc6hxlqfawnnnin7rzi"; sha256 = "084blm13k5lakl5wq3qfxbd0l0bwblvk928v75xcxpaqwv426w5a";
}; };
buildInputs = [ ocaml findlib ]; buildInputs = [ ocaml findlib ];
createFindlibDestdir = true; createFindlibDestdir = true;
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A high-level and functional interface to the Format module of the OCaml standard library"; description = "A high-level and functional interface to the Format module of the OCaml standard library";
homepage = "${webpage}"; homepage = "http://mjambon.com/${pname}.html";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
}; };