Compare commits

...

3 commits

Author SHA1 Message Date
Daniel Siepmann fe632a3a0b
Use proper nix versions for Neovim plugins
I used the commit hash or tag as version.
But Nix needs a date or version number without v prefix.
I adjust the plugins, update them and also remove the sha prefix.
2023-10-19 19:49:15 +02:00
Daniel Siepmann 6c7a9252de
Add GitHub as search engine to Firefox 2023-10-19 19:34:02 +02:00
Daniel Siepmann 513bdf334f
Pin chromium to older cached version
As workaround as chromium is not available as cached version for current
nixpkgs-unstable.
That way everything else can be updated while still downloading instead
of compiling chromium.
2023-10-19 19:31:23 +02:00
4 changed files with 52 additions and 35 deletions

BIN
assets/github.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -96,6 +96,18 @@ in {
icon = ./../../assets/packagist.png;
definedAliases = [ "@packagist" ];
};
"GitHub" = {
urls = [{
template = "https://github.com/search";
params = [
{ name = "q"; value = "{searchTerms}"; }
{ name = "type"; value = "repositories"; }
];
}];
icon = ./../../assets/github.png;
definedAliases = [ "@github" ];
};
"The Movie DB" = {
urls = [{
template = "https://www.themoviedb.org/search";

View file

@ -10,26 +10,26 @@ let
# I therefore just load this folder as plugin.
configuration = pkgs.vimUtils.buildVimPlugin {
pname = "configuration";
version = "v1.0.0";
version = "1.0.0";
src = ./neovim/configuration;
};
colorscheme-smyckblue = pkgs.vimUtils.buildVimPlugin rec {
pname = "colorscheme-smyckblue";
version = "v1.3.0";
version = "1.3.0";
src = pkgs.fetchgit {
url = "https://git.daniel-siepmann.de/danielsiepmann/vim-${pname}.git";
rev = version;
rev = "v${version}";
sha256 = "DDwsmy25qDNmoBSGABVnOYbJyPUaZ0fNy1Dle5c9tVk=";
};
};
neotags = pkgs.vimUtils.buildVimPlugin rec {
pname = "neotags";
version = "v0.3.0";
version = "0.3.0";
src = pkgs.fetchgit {
url = "https://git.daniel-siepmann.de/danielsiepmann/${pname}.git";
rev = version;
rev = "v${version}";
sha256 = "uJ7cl+1Ngff0FKzjmh1i7O/PkNjPvPT+ZEHgceeZcz0=";
};
@ -45,76 +45,77 @@ let
syntax-typoscript = pkgs.vimUtils.buildVimPlugin rec {
pname = "syntax-typoscript";
version = "v2.0.0";
version = "2.0.0";
src = pkgs.fetchgit {
url = "https://git.daniel-siepmann.de/danielsiepmann/vim-${pname}.git";
rev = version;
sha256 = "sha256-fCB+ikDmkfEP/W0pFYGrsZiH30vT0g3z6GZpRGk0Rhc=";
rev = "v${version}";
sha256 = "fCB+ikDmkfEP/W0pFYGrsZiH30vT0g3z6GZpRGk0Rhc=";
};
};
syntax-fluid = pkgs.vimUtils.buildVimPlugin rec {
pname = "syntax-fluid";
version = "cedc4ad871941e8f7134d1d71f9434f1bc3d93d5";
version = "2016-06-22";
src = pkgs.fetchFromGitHub {
owner = "mipmip";
repo = "vim-fluid";
rev = version;
rev = "cedc4ad871941e8f7134d1d71f9434f1bc3d93d5";
sha256 = "LiS2Dqw1K1Fu5VfHQnxIBDxDzEarmSAUUavQcwHRDsQ=";
};
};
syntax-mustache = pkgs.vimUtils.buildVimPlugin rec {
pname = "syntax-mustahce";
version = "0153fe03a919add2d6cf2d41b2d5b6e1188bc0e0";
pname = "syntax-mustache-handlebars";
version = "2021-11-30";
src = pkgs.fetchFromGitHub {
owner = "mustache";
repo = "vim-mustache-handlebars";
rev = version;
rev = "0153fe03a919add2d6cf2d41b2d5b6e1188bc0e0";
sha256 = "lmYt+GKuXhbOhu3HufqIFE2DvzUYlk5vGqU6tpJ2yjY=";
};
};
rg = pkgs.vimUtils.buildVimPlugin rec {
pname = "rg";
version = "c24e37093929a60e61761bdfa591af6984e49b51";
version = "2023-08-12";
src = pkgs.fetchFromGitHub {
owner = "duane9/";
owner = "duane9";
repo = "nvim-rg";
rev = version;
rev = "c24e37093929a60e61761bdfa591af6984e49b51";
sha256 = "PBDdkhZq5OnYpWSbLRG8krMTcuaCRn0mSpRLCqnEgLk=";
};
};
vdebug = pkgs.vimUtils.buildVimPlugin rec {
pname = "vdebug";
version = "f979cc065e63796bdf60f014ae2280ce8e72cded";
version = "2022-02-27";
src = pkgs.fetchFromGitHub {
owner = "joonty";
repo = pname;
rev = version;
sha256 = "sha256-0pvRdqogxYs2QMH1uHTJzLY5QtvenSyowcqkGhtauLY=";
rev = "f979cc065e63796bdf60f014ae2280ce8e72cded";
sha256 = "0pvRdqogxYs2QMH1uHTJzLY5QtvenSyowcqkGhtauLY=";
};
};
# TODO: Check changes of forks: https://github.com/sgeb/vim-diff-fold/network
diff-fold = pkgs.vimUtils.buildVimPlugin rec {
pname = "diff-fold";
version = "48b4505c1b6f14ceb4e4be732aad337147ef36cd";
version = "2012-09-14";
src = pkgs.fetchFromGitHub {
owner = "sgeb";
repo = "vim-${pname}";
rev = version;
rev = "48b4505c1b6f14ceb4e4be732aad337147ef36cd";
sha256 = "M3CAUueEhLD0J6sLUpRkFv+vK4aGYO+Xnokxmn+VxqU=";
};
};
neoterm = pkgs.vimUtils.buildVimPlugin rec {
pname = "neoterm";
version = "e78179a9ceb98de8d0c37bdda435a5deab4d5e71";
version = "2023-03-09";
src = pkgs.fetchFromGitHub {
owner = "kassio";
repo = pname;
rev = version;
rev = "eca22dc90a9db5e52d8baf91f31991ad540ffe36";
sha256 = "0w962xfcgigdw41wblrv1l55xki0kl5vwkdbm6jlr44hzii0nhgz";
};
patches = [
@ -124,11 +125,11 @@ let
tagbar = pkgs.vimUtils.buildVimPlugin rec {
pname = "tagbar";
version = "v2.7";
version = "2.7";
src = pkgs.fetchFromGitHub {
owner = "majutsushi";
repo = pname;
rev = version;
rev = "v${version}";
sha256 = "Eg6xRwisopmBexqkWjRbSi9aQC4uCXbFO6SCK1LY+Ow=";
};
};
@ -137,11 +138,11 @@ let
# Note that you need to set further variables, or execute a matching test beforehand.
test = pkgs.vimUtils.buildVimPlugin rec {
pname = "test";
version = "c63b94c1e5089807f4532e05f087351ddb5a207c";
version = "2023-09-30";
src = pkgs.fetchFromGitHub {
owner = "vim-${pname}";
repo = "vim-${pname}";
rev = version;
rev = "53c6c72f3a0c6a24a74e659eaa769d7057ef2ecd";
sha256 = "feXB4AHalJgJDxS/kM3aXGwyi3xvSfMlFULUGNIE7bM=";
};
patches = [
@ -153,12 +154,12 @@ let
telescope-ctags-outline = pkgs.vimUtils.buildVimPlugin rec {
pname = "telescope-ctags-outline";
version = "35b2df9545f72352502703ba06b7ab711fa25e51";
version = "2023-08-21";
src = pkgs.fetchFromGitHub {
owner = "fcying";
repo = "${pname}.nvim";
rev = version;
sha256 = "e8QcD7H2unmoaLaN1JUxtOGQYBJGAXtfSnj8sW66ff4=";
rev = "74745d8c08617f68ad88fd08ea4d342ca8549d8d";
sha256 = "JOD36DukgJzqtNqAveQpc/LbsihYw6OgaX+bMXbSc8o=";
};
};

View file

@ -1,6 +1,10 @@
{ pkgs }:
{
let
inherit (import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/9957cd48326fe8dbd52fdc50dd2502307f188b0d.tar.gz";
}) {}) chromium;
in {
enable = true;
configFile = {
@ -62,22 +66,22 @@
microsoft-teams = {
name = "Microsoft Teams";
type = "Application";
exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --app=https://teams.microsoft.com/ --user-agent=\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36\"";
exec = "${chromium}/bin/chromium --class=\"chat\" --new-window --app=https://teams.microsoft.com/ --user-agent=\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36\"";
};
slack-codappix = {
name = "Slack: Codappix";
type = "Application";
exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --app=https://codappix.slack.com/";
exec = "${chromium}/bin/chromium --class=\"chat\" --new-window --app=https://codappix.slack.com/";
};
slack-typo3 = {
name = "Slack: TYPO3";
type = "Application";
exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --app=https://typo3.slack.com/";
exec = "${chromium}/bin/chromium --class=\"chat\" --new-window --app=https://typo3.slack.com/";
};
slack-sac = {
name = "Slack: SAC";
type = "Application";
exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --app=https://saccas.slack.com/";
exec = "${chromium}/bin/chromium --class=\"chat\" --new-window --app=https://saccas.slack.com/";
};
};