2018-09-26 17:10:52 +02:00
|
|
|
let
|
2018-09-26 23:38:53 +02:00
|
|
|
lib = (import <nixpkgs> {}).lib;
|
2018-09-26 17:10:52 +02:00
|
|
|
|
|
|
|
in
|
2018-10-25 01:31:26 +02:00
|
|
|
{
|
2018-09-26 14:23:42 +02:00
|
|
|
|
2018-10-25 01:31:26 +02:00
|
|
|
clementine.spotify = false;
|
|
|
|
whitelistedLicenses = with lib.licenses; [ wtfpl ];
|
|
|
|
vim =
|
|
|
|
{ gui = "gtk3";
|
|
|
|
python = true;
|
|
|
|
multibyteSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
packageOverrides = pkgs: with pkgs;
|
|
|
|
rec {
|
|
|
|
myVim = (vim_configurable.override {python = python3;}).customize {
|
|
|
|
# executable/ package name
|
|
|
|
name = "vim";
|
|
|
|
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {
|
|
|
|
# loaded on start
|
|
|
|
start = [
|
|
|
|
ale
|
|
|
|
ctrlp
|
2018-11-07 14:09:11 +01:00
|
|
|
#deoplete-jedi
|
2018-10-25 01:31:26 +02:00
|
|
|
fugitive
|
2018-11-07 14:09:11 +01:00
|
|
|
jedi-vim
|
2018-10-25 01:31:26 +02:00
|
|
|
nerdtree
|
|
|
|
nerdtree-git-plugin
|
|
|
|
supertab
|
|
|
|
vim-pandoc
|
|
|
|
vim-pandoc-syntax
|
|
|
|
vim-nix
|
2018-11-11 13:23:24 +01:00
|
|
|
vim-jinja
|
2018-10-25 01:31:26 +02:00
|
|
|
];
|
|
|
|
};
|
2018-10-28 00:25:59 +02:00
|
|
|
vimrcConfig.customRC =
|
|
|
|
''if filereadable($HOME . "/.vimrc")
|
2018-10-25 01:31:26 +02:00
|
|
|
source ~/.vimrc
|
|
|
|
endif
|
|
|
|
'';
|
|
|
|
};
|
2018-10-14 16:57:02 +02:00
|
|
|
# build with debug symbols and in debug mode (less optimized)
|
|
|
|
opencvDebug = enableDebugging ((opencv3.override {enablePython=true; enableGtk3=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";}));
|
|
|
|
};
|
2018-10-12 23:42:25 +02:00
|
|
|
|
2018-10-25 01:31:26 +02:00
|
|
|
}
|