mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
6a30c02ac3
changes in 2f78ee7
missed some places where lib had to be added
35 lines
784 B
Nix
35 lines
784 B
Nix
{ lib, stdenv, fetchFromGitHub, buildRebar3 }:
|
|
|
|
let
|
|
shell = drv: stdenv.mkDerivation {
|
|
name = "interactive-shell-${drv.name}";
|
|
buildInputs = [ drv ];
|
|
};
|
|
|
|
pkg = self: buildRebar3 {
|
|
name = "pgsql";
|
|
version = "25+beta.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "semiocast";
|
|
repo = "pgsql";
|
|
rev = "14f632bc89e464d82ce3ef12a67ed8c2adb5b60c";
|
|
sha256 = "17dcahiwlw61zhy8aq9rn46lwb35fb9q3372s4wmz01czm8c348w";
|
|
};
|
|
|
|
dontStrip = true;
|
|
|
|
meta = {
|
|
description = "Erlang PostgreSQL Driver";
|
|
license = lib.licenses.mit;
|
|
homepage = "https://github.com/semiocast/pgsql";
|
|
maintainers = with lib.maintainers; [ ericbmerritt ];
|
|
};
|
|
|
|
passthru = {
|
|
env = shell self;
|
|
};
|
|
|
|
};
|
|
in lib.fix pkg
|