mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
764 B
Nix
28 lines
764 B
Nix
{ lib, fetchFromGitHub, buildDunePackage
|
|
, calendar, camlp-streams, csv, hex, ppx_deriving, ppx_sexp_conv, re, rresult, sexplib
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "pgocaml";
|
|
version = "4.4.0";
|
|
src = fetchFromGitHub {
|
|
owner = "darioteixeira";
|
|
repo = "pgocaml";
|
|
rev = "v${version}";
|
|
hash = "sha256-Mz3zVgXas1UivH/BVARx5kWClgr9v9YcGarwaD961tU=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re
|
|
rresult sexplib camlp-streams
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Interface to PostgreSQL databases for OCaml applications";
|
|
homepage = "https://github.com/darioteixeira/pgocaml";
|
|
license = licenses.lgpl2Only;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|