ocamlPackages.facile: 1.1.3 → 1.1.4

This commit is contained in:
Vincent Laporte 2019-11-09 15:48:22 +00:00 committed by Vincent Laporte
parent 08a897676b
commit 17e0d73278
1 changed files with 8 additions and 27 deletions

View File

@ -1,38 +1,19 @@
{ stdenv, fetchurl, ocaml, findlib }: { lib, fetchurl, buildDunePackage }:
stdenv.mkDerivation rec { buildDunePackage rec {
name = "ocaml${ocaml.version}-facile-${version}"; pname = "facile";
version = "1.1.4";
version = "1.1.3";
src = fetchurl { src = fetchurl {
url = "http://opti.recherche.enac.fr/facile/distrib/facile-${version}.tar.gz"; url = "https://github.com/Emmanuel-PLF/facile/releases/download/${version}/facile-${version}.tbz";
sha256 = "1v4apqcw4gm36ph5xwf1wxaaza0ggvihvgsdslnf33fa1pdkvdjw"; sha256 = "0jqrwmn6fr2vj2rrbllwxq4cmxykv7zh0y4vnngx29f5084a04jp";
}; };
dontAddPrefix = 1; doCheck = true;
buildInputs = [ ocaml findlib ];
createFindlibDestdir = true;
installFlags = [ "FACILEDIR=$(OCAMLFIND_DESTDIR)/facile" ];
postInstall = ''
cat > $OCAMLFIND_DESTDIR/facile/META <<EOF
version = "${version}"
name = "facile"
description = "A Functional Constraint Library"
requires = ""
archive(byte) = "facile.cma"
archive(native) = "facile.cmxa"
EOF
'';
meta = { meta = {
homepage = "http://opti.recherche.enac.fr/facile/"; homepage = "http://opti.recherche.enac.fr/facile/";
license = stdenv.lib.licenses.lgpl21Plus; license = lib.licenses.lgpl21Plus;
description = "A Functional Constraint Library"; description = "A Functional Constraint Library";
platforms = stdenv.lib.platforms.unix;
}; };
} }