about summary refs log tree commit diff
path: root/pkgs/development/idris-modules/httpclient.nix
blob: ec41956b9634e3be902914d57e65a477655c2193 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ pkgs
, build-idris-package
, fetchFromGitHub
, lightyear
, contrib
, lib
, idris
}:

let
  date = "2016-12-20";
in
build-idris-package {
  name = "httpclient-${date}";

  src = fetchFromGitHub {
    owner = "justjoheinz";
    repo = "idris-httpclient";
    rev = "4a7296d572d7f7fde87d27da07d5c9566dc4ff14";
    sha256 = "0sy0q7gri9lwbqdmx9720pby3w1470w7wzn62bf2rir532219hhl";
  };

  propagatedBuildInputs = [ pkgs.curl lightyear contrib ];

  meta = {
    description = "HTTP Client for Idris";
    homepage = https://github.com/justjoheinz/idris-httpclient;
    inherit (idris.meta) platforms;
  };
}