mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
pgocaml: 2.2 -> 2.3
Changes the build system from mkDerivation to buildOcaml
This commit is contained in:
parent
51e0173c28
commit
a52c1b4840
@ -1,14 +1,17 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4, calendar, csv, ocaml_pcre }:
|
||||
{ stdenv, fetchurl, buildOcaml, calendar, csv, re }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-pgocaml-2.2";
|
||||
buildOcaml {
|
||||
name = "pgocaml";
|
||||
version = "2.3";
|
||||
src = fetchurl {
|
||||
url = http://forge.ocamlcore.org/frs/download.php/1506/pgocaml-2.2.tgz;
|
||||
sha256 = "0x0dhlz2rqxpwfdqi384f9fn0ng2irifadmxfm2b4gcz7y1cl9rh";
|
||||
url = https://github.com/darioteixeira/pgocaml/archive/v2.3.tar.gz;
|
||||
sha256 = "18lymxlvcf4nwxawkidq3pilsp5rhl0l8ifq6pjk3ssjlx9w53pg";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
||||
propagatedBuildInputs = [ calendar csv ocaml_pcre ];
|
||||
buildInputs = [ ];
|
||||
propagatedBuildInputs = [ calendar csv re ];
|
||||
|
||||
configureFlags = [ "--enable-p4" ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
@ -16,7 +19,6 @@ stdenv.mkDerivation {
|
||||
description = "An interface to PostgreSQL databases for OCaml applications";
|
||||
homepage = http://pgocaml.forge.ocamlcore.org/;
|
||||
license = licenses.lgpl2;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
maintainers = with maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user