about summary refs log tree commit diff
path: root/pkgs/development/idris-modules/derive.nix
blob: 7b6cb64cfe37004e188043a13a65834fec885c40 (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
{ build-idris-package
, fetchFromGitHub
, contrib
, pruviloj
, lib
}:
build-idris-package  {
  name = "derive";
  version = "2018-07-02";

  idrisDeps = [ contrib pruviloj ];

  # https://github.com/david-christiansen/derive-all-the-instances/pull/9
  src = fetchFromGitHub {
    owner = "infinisil";
    repo = "derive-all-the-instances";
    rev = "61c3e12e26f599379299fcbb9c40a81bfc3e0604";
    sha256 = "0g2lb8nrwqwf3gm5fir43cxz6db84n19xiwkv8cmmqc1fgy6v0qn";
  };

  meta = {
    description = "Type class deriving with elaboration reflection";
    homepage = https://github.com/davlum/derive-all-the-instances;
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.brainrape ];
  };
}