https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
14 lines
303 B
Nix
14 lines
303 B
Nix
{ buildDunePackage, faraday, core, async }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "faraday-async";
|
|
inherit (faraday) version src useDune2;
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [ faraday core async ];
|
|
|
|
meta = faraday.meta // {
|
|
description = "Async support for Faraday";
|
|
};
|
|
}
|