2018-03-16 11:40:17 +00:00
|
|
|
{ build-idris-package
|
|
|
|
, fetchFromGitHub
|
|
|
|
, effects
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
build-idris-package {
|
2022-02-14 22:08:24 +00:00
|
|
|
pname = "eternal";
|
2018-07-02 04:00:15 +00:00
|
|
|
version = "2018-07-02";
|
2018-03-16 11:40:17 +00:00
|
|
|
|
2018-07-02 03:18:21 +00:00
|
|
|
idrisDeps = [ effects ];
|
2018-03-16 11:40:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Heather";
|
|
|
|
repo = "Control.Eternal.Idris";
|
2018-07-02 04:00:15 +00:00
|
|
|
rev = "2f84b0dd49a7a29a2f852ba96cabfe8322e0852b";
|
|
|
|
sha256 = "1x8cwngiqi05f3wll0niznm47jj2byivx4mh5xf4sb47kciwkxvs";
|
2018-03-16 11:40:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
printf 'makefile = Makefile\n' >> source/eternal.ipkg
|
|
|
|
printf 'objs = readProcess.o\n' >> source/eternal.ipkg
|
|
|
|
sed -i 's/\/usr\/local\/idris\/readProcess.h/readProcess.h/g' source/Control/Eternal/System/Process.idr
|
|
|
|
sed -i 's/\/usr\/local\/idris\/readProcess.o/readProcess.o/g' source/Control/Eternal/System/Process.idr
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Infix pipe operators and some Nat, Float, String conversions";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Heather/Control.Eternal.Idris";
|
2018-03-16 11:40:17 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.brainrape ];
|
|
|
|
};
|
|
|
|
}
|