2021-01-24 20:00:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildRebar3 }:
|
2016-03-28 22:14:13 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
shell = drv: stdenv.mkDerivation {
|
|
|
|
name = "interactive-shell-${drv.name}";
|
|
|
|
buildInputs = [ drv ];
|
|
|
|
};
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
pkg = self: buildRebar3 {
|
2016-03-28 22:14:13 +01:00
|
|
|
name = "pgsql";
|
|
|
|
version = "25+beta.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "semiocast";
|
|
|
|
repo = "pgsql";
|
|
|
|
rev = "14f632bc89e464d82ce3ef12a67ed8c2adb5b60c";
|
|
|
|
sha256 = "17dcahiwlw61zhy8aq9rn46lwb35fb9q3372s4wmz01czm8c348w";
|
|
|
|
};
|
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Erlang PostgreSQL Driver";
|
2021-01-23 17:15:07 +00:00
|
|
|
license = lib.licenses.mit;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/semiocast/pgsql";
|
2021-01-23 17:15:07 +00:00
|
|
|
maintainers = with lib.maintainers; [ ericbmerritt ];
|
2016-03-28 22:14:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
env = shell self;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
2021-01-23 17:15:07 +00:00
|
|
|
in lib.fix pkg
|