depot/pkgs/development/idris-modules/html.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
697 B
Nix

{ build-idris-package
, fetchFromGitHub
, idrisscript
, hrtime
, webgl
, lib
}:
build-idris-package {
pname = "html";
version = "2017-04-23";
idrisDeps = [ idrisscript hrtime webgl ];
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";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.brainrape ];
};
}