nixpkgs-suyu/pkgs/applications/editors/nano/nanorc/default.nix

30 lines
650 B
Nix
Raw Normal View History

2018-09-08 02:58:00 +02:00
{ stdenv, fetchFromGitHub }:
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
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";
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;
};
}