3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/idris-modules/derive.nix

28 lines
704 B
Nix
Raw Normal View History

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