about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/idris-modules/html.nix
blob: 8eb2f7f12d75435263da6b3ff2234bb02d3485c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ 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 ];
  };
}