2017-11-06 18:18:59 +00:00
|
|
|
{ curl
|
2016-12-19 23:28:23 +00:00
|
|
|
, build-idris-package
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lightyear
|
|
|
|
, contrib
|
2017-11-06 18:18:59 +00:00
|
|
|
, effects
|
|
|
|
, prelude
|
|
|
|
, base
|
2016-12-19 23:28:23 +00:00
|
|
|
, lib
|
|
|
|
, idris
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
in
|
|
|
|
build-idris-package {
|
2017-11-06 18:18:59 +00:00
|
|
|
name = "httpclient";
|
|
|
|
version = "2016-12-20";
|
2016-12-19 23:28:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "justjoheinz";
|
|
|
|
repo = "idris-httpclient";
|
|
|
|
rev = "4a7296d572d7f7fde87d27da07d5c9566dc4ff14";
|
|
|
|
sha256 = "0sy0q7gri9lwbqdmx9720pby3w1470w7wzn62bf2rir532219hhl";
|
|
|
|
};
|
|
|
|
|
2017-11-06 18:18:59 +00:00
|
|
|
idrisDeps = [ prelude base effects lightyear contrib ];
|
|
|
|
|
|
|
|
extraBuildInputs = [ curl ];
|
2016-12-19 23:28:23 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "HTTP Client for Idris";
|
|
|
|
homepage = https://github.com/justjoheinz/idris-httpclient;
|
|
|
|
inherit (idris.meta) platforms;
|
2017-11-06 18:18:59 +00:00
|
|
|
broken = true;
|
2016-12-19 23:28:23 +00:00
|
|
|
};
|
|
|
|
}
|