From bd55a78f6d15416a075a7efc79f179b13c0d9482 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Fri, 7 Sep 2018 20:58:00 -0400 Subject: [PATCH] nanorc: Init at 2018-09-05 --- .../editors/nano/nanorc/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/editors/nano/nanorc/default.nix diff --git a/pkgs/applications/editors/nano/nanorc/default.nix b/pkgs/applications/editors/nano/nanorc/default.nix new file mode 100644 index 000000000000..fb30036e146f --- /dev/null +++ b/pkgs/applications/editors/nano/nanorc/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "nanorc-${version}"; + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 06a7aaa9a68a..2fbddb94b1b7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17843,6 +17843,8 @@ with pkgs; nanoblogger = callPackage ../applications/misc/nanoblogger { }; + nanorc = callPackage ../applications/editors/nano/nanorc { }; + navipowm = callPackage ../applications/misc/navipowm { }; navit = libsForQt5.callPackage ../applications/misc/navit { };