2018-03-16 12:40:17 +01:00
|
|
|
{ build-idris-package
|
|
|
|
, fetchFromGitHub
|
|
|
|
, contrib
|
|
|
|
, pruviloj
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
build-idris-package {
|
|
|
|
name = "derive";
|
2018-07-02 05:19:51 +02:00
|
|
|
version = "2018-07-02";
|
2018-03-16 12:40:17 +01:00
|
|
|
|
2018-07-02 05:18:21 +02:00
|
|
|
idrisDeps = [ contrib pruviloj ];
|
2018-03-16 12:40:17 +01:00
|
|
|
|
2018-07-02 05:19:51 +02:00
|
|
|
# https://github.com/david-christiansen/derive-all-the-instances/pull/9
|
2018-03-16 12:40:17 +01:00
|
|
|
src = fetchFromGitHub {
|
2018-07-02 05:19:51 +02:00
|
|
|
owner = "infinisil";
|
2018-03-16 12:40:17 +01:00
|
|
|
repo = "derive-all-the-instances";
|
2018-07-02 05:19:51 +02:00
|
|
|
rev = "61c3e12e26f599379299fcbb9c40a81bfc3e0604";
|
|
|
|
sha256 = "0g2lb8nrwqwf3gm5fir43cxz6db84n19xiwkv8cmmqc1fgy6v0qn";
|
2018-03-16 12:40:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|