2018-03-16 11:40:17 +00:00
|
|
|
{ build-idris-package
|
|
|
|
, fetchFromGitHub
|
|
|
|
, contrib
|
|
|
|
, effects
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
build-idris-package {
|
|
|
|
name = "wyvern";
|
|
|
|
version = "2017-06-26";
|
|
|
|
|
2018-07-02 04:18:21 +01:00
|
|
|
idrisDeps = [ contrib effects ];
|
2018-03-16 11:40:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ericqweinstein";
|
|
|
|
repo = "wyvern";
|
|
|
|
rev = "b9e3e5747c5b23608c6ed5e2ccf43b86caa04292";
|
|
|
|
sha256 = "0zihf95w7i0903zy1mzn1ldn697nf57yl80nl32dpgji72h98kh2";
|
|
|
|
};
|
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
sed -i "s/Wyvern.Core/Wyvern.Main/g" source/src/Wyvern.idr
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Little web server written in Idris";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ericqweinstein/wyvern";
|
2018-03-16 11:40:17 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.brainrape ];
|
|
|
|
};
|
|
|
|
}
|