nixpkgs/pkgs/development/idris-modules/html.nix

32 lines
696 B
Nix
Raw Normal View History

2018-03-16 12:40:17 +01:00
{ build-idris-package
, fetchFromGitHub
, idrisscript
, hrtime
, webgl
, lib
}:
build-idris-package {
name = "html";
version = "2017-04-23";
2018-07-02 05:18:21 +02:00
idrisDeps = [ idrisscript hrtime webgl ];
2018-03-16 12:40:17 +01:00
src = fetchFromGitHub {
owner = "pierrebeaucamp";
repo = "idris-html";
rev = "f59ecc560d7008ba26dda83f11319bb24ed6c508";
sha256 = "0r2clvkyld3y3r6smkfb7s47qnndikwds3bx9hphidbn41wjnh0i";
};
postUnpack = ''
sed -i "s/hrTime/hrtime/g" source/html.ipkg
'';
meta = {
description = "Idris library to interact with HTML";
homepage = "https://github.com/pierrebeaucamp/idris-html";
2018-03-16 12:40:17 +01:00
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.brainrape ];
};
}