diff options
author | Márton Boros <martonboros@gmail.com> | 2018-03-16 12:40:17 +0100 |
---|---|---|
committer | Márton Boros <martonboros@gmail.com> | 2018-03-20 07:16:21 +0100 |
commit | 23ee7c9d8d510a781c9796d392e968537d254883 (patch) | |
tree | 9ffcf98ac7abb04d6c0bf083e93409f8a6b49a8b /pkgs/development/idris-modules/html.nix | |
parent | cf65d477fd9e92823c64a44521835c82e122c2f2 (diff) | |
download | nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.gz nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.bz2 nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.lz nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.xz nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.zst nixlib-23ee7c9d8d510a781c9796d392e968537d254883.zip |
idrisPackages: add packages
Diffstat (limited to 'pkgs/development/idris-modules/html.nix')
-rw-r--r-- | pkgs/development/idris-modules/html.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/html.nix b/pkgs/development/idris-modules/html.nix new file mode 100644 index 000000000000..deec5b0eb6dc --- /dev/null +++ b/pkgs/development/idris-modules/html.nix @@ -0,0 +1,34 @@ +{ build-idris-package +, fetchFromGitHub +, prelude +, idrisscript +, hrtime +, webgl +, lib +, idris +}: +build-idris-package { + name = "html"; + version = "2017-04-23"; + + idrisDeps = [ prelude 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 ]; + inherit (idris.meta) platforms; + }; +} |