summary refs log tree commit diff
path: root/pkgs/development/idris-modules/electron.nix
blob: 7dabfd8f45c452260c95410d5a84cf4d77833a22 (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
32
33
34
35
36
{ build-idris-package
, fetchFromGitHub
, prelude
, contrib
, jheiling-extras
, jheiling-js
, lib
, idris
}:

build-idris-package  {
  name = "electron";
  version = "2016-03-07";

  idrisDeps = [ prelude contrib jheiling-extras jheiling-js ];

  src = fetchFromGitHub {
    owner = "jheiling";
    repo = "idris-electron";
    rev = "f0e86f52b8e5a546a2bf714709b659c1c0b04395";
    sha256 = "1rpa7yjvfpzl06h0qbk54jd2n52nmgpf7nq5aamcinqh7h5gbiwn";
  };

  postUnpack = ''
    rm source/example_main.ipkg
    rm source/example_view.ipkg
  '';

  meta = {
    description = "Electron bindings for Idris";
    homepage = https://github.com/jheiling/idris-electron;
    license = lib.licenses.unlicense;
    maintainers = [ lib.maintainers.brainrape ];
    inherit (idris.meta) platforms;
  };
}