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

30 lines
683 B
Nix
Raw Normal View History

2018-09-08 00:58:00 +00:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "nanorc";
2018-09-08 00:58:00 +00:00
version = "2018-09-05";
src = fetchFromGitHub {
owner = "scopatz";
repo = "nanorc";
rev = "1e589cb729d24fba470228d429e6dde07973d597";
sha256 = "136yxr38lzrfv8bar0c6c56rh54q9s94zpwa19f425crh44drppl";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/share
install *.nanorc $out/share/
'';
meta = {
description = "Improved Nano Syntax Highlighting Files";
homepage = https://github.com/scopatz/nanorc;
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ nequissimus ];
platforms = stdenv.lib.platforms.all;
};
}