2018-09-08 02:58:00 +02:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "nanorc";
|
2020-10-08 16:59:20 +02:00
|
|
|
version = "2020-01-25";
|
2018-09-08 02:58:00 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scopatz";
|
|
|
|
repo = "nanorc";
|
2020-10-08 16:59:20 +02:00
|
|
|
rev = "2020.1.25";
|
|
|
|
sha256 = "1y8jk3jsl4bd6r4hzmxzcf77hv8bwm0318yv7y2npkkd3a060z8d";
|
2018-09-08 02:58:00 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share
|
|
|
|
|
|
|
|
install *.nanorc $out/share/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Improved Nano Syntax Highlighting Files";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/scopatz/nanorc";
|
2018-09-08 02:58:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ nequissimus ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|