diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2020-11-30 22:45:11 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 22:45:11 -0300 |
commit | 77f29c6e228482b04fc411d0955243e8177a5426 (patch) | |
tree | 9c3ec47f488f0e658186a317c60475f38a04b3ca /pkgs/applications/editors/kakoune | |
parent | dffa6cc3f47a10af0d623ead866cfc8cf4619bdd (diff) | |
parent | 08a6eed6240e57711a476eb7424006b384a9a362 (diff) | |
download | nixpkgs-77f29c6e228482b04fc411d0955243e8177a5426.tar nixpkgs-77f29c6e228482b04fc411d0955243e8177a5426.tar.gz nixpkgs-77f29c6e228482b04fc411d0955243e8177a5426.tar.bz2 nixpkgs-77f29c6e228482b04fc411d0955243e8177a5426.tar.lz nixpkgs-77f29c6e228482b04fc411d0955243e8177a5426.tar.xz nixpkgs-77f29c6e228482b04fc411d0955243e8177a5426.tar.zst nixpkgs-77f29c6e228482b04fc411d0955243e8177a5426.zip |
Merge pull request #103969 from eraserhd/openscad.kak
kakounePlugins.openscad-kak: init at unstable-2020-11-16
Diffstat (limited to 'pkgs/applications/editors/kakoune')
-rw-r--r-- | pkgs/applications/editors/kakoune/plugins/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/editors/kakoune/plugins/openscad.kak.nix | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/editors/kakoune/plugins/default.nix b/pkgs/applications/editors/kakoune/plugins/default.nix index 93241b93b04..168c1d06b31 100644 --- a/pkgs/applications/editors/kakoune/plugins/default.nix +++ b/pkgs/applications/editors/kakoune/plugins/default.nix @@ -12,4 +12,5 @@ kak-powerline = pkgs.callPackage ./kak-powerline.nix { }; kak-prelude = pkgs.callPackage ./kak-prelude.nix { }; kak-vertical-selection = pkgs.callPackage ./kak-vertical-selection.nix { }; + openscad-kak = pkgs.callPackage ./openscad.kak.nix { }; } diff --git a/pkgs/applications/editors/kakoune/plugins/openscad.kak.nix b/pkgs/applications/editors/kakoune/plugins/openscad.kak.nix new file mode 100644 index 00000000000..21c8b7a60cc --- /dev/null +++ b/pkgs/applications/editors/kakoune/plugins/openscad.kak.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation { + pname = "openscad.kak"; + version = "unstable-2019-11-08"; + + src = fetchFromGitHub { + owner = "mayjs"; + repo = "openscad.kak"; + rev = "d9143d5e7834e3356b49720664d5647cab9db7cc"; + sha256 = "0j4dqhrn56z77hdalfdxagwz8h6nwr8s9i4w0bs2644k72lsm2ix"; + }; + + installPhase = '' + install -Dm644 rc/openscad.kak -t $out/share/kak/autoload/plugins/ + ''; + + meta = with stdenv.lib; { + description = "Syntax highlighting for OpenSCAD files"; + homepage = "https://github.com/mayjs/openscad.kak"; + license = licenses.unlicense; + maintainers = with maintainers; [ eraserhd ]; + platforms = platforms.all; + }; +} |