forked from mirrors/nixpkgs
30 lines
709 B
Nix
30 lines
709 B
Nix
{ build-idris-package
|
|
, fetchFromGitHub
|
|
, prelude
|
|
, effects
|
|
, lightyear
|
|
, lib
|
|
, idris
|
|
}:
|
|
build-idris-package {
|
|
name = "idrishighlighter";
|
|
version = "2018-02-22";
|
|
|
|
idrisDeps = [ prelude effects lightyear ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "david-christiansen";
|
|
repo = "idris-code-highlighter";
|
|
rev = "708a29c7d1433adf7b0f69d1aec50e69b2915bba";
|
|
sha256 = "16ahzf2jzh7wzi4jjq94s5z9nzkgnj2962dy13s1crim53csjgw5";
|
|
};
|
|
|
|
meta = {
|
|
description = "Semantic highlighter for Idris code";
|
|
homepage = https://github.com/david-christiansen/idris-code-highlighter;
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.brainrape ];
|
|
inherit (idris.meta) platforms;
|
|
};
|
|
}
|