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
pname = "easy-format";
version = "1.0.2";
webpage = "http://mjambon.com/${pname}.html";
version = "1.1.0";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "http://mjambon.com/releases/${pname}/${name}.tar.gz";
sha256 = "07wlgprqvk92z0p2xzbnvh312ca6gvhy3xc6hxlqfawnnnin7rzi";
src = fetchzip {
url = "https://github.com/mjambon/${pname}/archive/v${version}.tar.gz";
sha256 = "084blm13k5lakl5wq3qfxbd0l0bwblvk928v75xcxpaqwv426w5a";
};
buildInputs = [ ocaml findlib ];
createFindlibDestdir = true;
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
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;
maintainers = [ maintainers.vbgl ];
};