2018-03-16 12:40:17 +01:00
|
|
|
{ build-idris-package
|
|
|
|
, fetchFromGitHub
|
|
|
|
, contrib
|
|
|
|
, effects
|
|
|
|
, libmicrohttpd
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
build-idris-package {
|
|
|
|
name = "mhd";
|
|
|
|
version = "2016-04-22";
|
|
|
|
|
2018-09-18 10:38:59 +02:00
|
|
|
ipkgName = "MHD";
|
2018-07-02 05:18:21 +02:00
|
|
|
idrisDeps = [ contrib effects ];
|
2018-03-16 12:40:17 +01:00
|
|
|
|
|
|
|
extraBuildInputs = [ libmicrohttpd ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "colin-adams";
|
|
|
|
repo = "idris-libmicrohttpd";
|
|
|
|
rev = "a8808bc06fa292d4b3389f32cb00716e43122a46";
|
|
|
|
sha256 = "0wvp1qi3bn4hk52vsid6acfwvwbs58sggylbpjvkxzycsbhz4nx4";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A 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 ];
|
|
|
|
};
|
|
|
|
}
|