mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
a52c1b4840
Changes the build system from mkDerivation to buildOcaml
25 lines
656 B
Nix
25 lines
656 B
Nix
{ stdenv, fetchurl, buildOcaml, calendar, csv, re }:
|
|
|
|
buildOcaml {
|
|
name = "pgocaml";
|
|
version = "2.3";
|
|
src = fetchurl {
|
|
url = https://github.com/darioteixeira/pgocaml/archive/v2.3.tar.gz;
|
|
sha256 = "18lymxlvcf4nwxawkidq3pilsp5rhl0l8ifq6pjk3ssjlx9w53pg";
|
|
};
|
|
|
|
buildInputs = [ ];
|
|
propagatedBuildInputs = [ calendar csv re ];
|
|
|
|
configureFlags = [ "--enable-p4" ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An interface to PostgreSQL databases for OCaml applications";
|
|
homepage = http://pgocaml.forge.ocamlcore.org/;
|
|
license = licenses.lgpl2;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|