summaryrefslogtreecommitdiff
path: root/pkgs/development/idris-modules/mhd.nix
blob: f41191b20da8c06231cfcfda528c8e69869fab9e (plain)
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
31
32
33
34
{
  build-idris-package,
  fetchFromGitHub,
  contrib,
  effects,
  libmicrohttpd,
  lib,
}:
build-idris-package {
  pname = "mhd";
  version = "2016-04-22";

  ipkgName = "MHD";
  idrisDeps = [
    contrib
    effects
  ];

  extraBuildInputs = [ libmicrohttpd ];

  src = fetchFromGitHub {
    owner = "colin-adams";
    repo = "idris-libmicrohttpd";
    rev = "a8808bc06fa292d4b3389f32cb00716e43122a46";
    sha256 = "0wvp1qi3bn4hk52vsid6acfwvwbs58sggylbpjvkxzycsbhz4nx4";
  };

  meta = {
    description = "Binding of the GNU libmicrohttpd library to the Idris C backend";
    homepage = "https://github.com/colin-adams/idris-libmicrohttpd";
    license = lib.licenses.lgpl21;
    maintainers = [ lib.maintainers.brainrape ];
  };
}