updgrade to 23.11
This commit is contained in:
parent
2c0f9dd7f8
commit
eb9cd9d8cf
40 changed files with 18 additions and 621 deletions
|
@ -1,4 +1,2 @@
|
|||
{ pkgs }:
|
||||
{
|
||||
map = pkgs.callPackage ./map.nix { };
|
||||
}
|
||||
{ }
|
||||
|
|
32
pkgs/map.nix
32
pkgs/map.nix
|
@ -1,32 +0,0 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "map";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "soveran";
|
||||
repo = pname;
|
||||
rev = "0.1.1";
|
||||
sha256 = "sha256-yGzmhZwv1qKy0JNcSzqL996APQO8OGWQ1GBkEkKTOXA=";
|
||||
};
|
||||
|
||||
makefile = "makefile";
|
||||
|
||||
installPhase = ''
|
||||
export PREFIX="$out";
|
||||
mkdir -p "$out"
|
||||
make install
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
make test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Map lines from stdin to commands";
|
||||
license = licenses.bsd2;
|
||||
homepage = "https://github.com/soveran/map";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ dadada ];
|
||||
};
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
# Borrowed from nixpkgs.
|
||||
# See https://github.com/NixOS/nixpkgs/issues/86349
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, git, bash }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "soft-serve";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "charmbracelet";
|
||||
repo = "soft-serve";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-PY/BHfuDRHXpzyUawzZhDr1m0c1tWqawW7GP9muhYAs=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-jtEiikjEOThTSrd+UIEInxQmt2z5YVyksuTC17VmdkA=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/soft \
|
||||
--prefix PATH : "${lib.makeBinPath [ git bash ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tasty, self-hosted Git server for the command line";
|
||||
homepage = "https://github.com/charmbracelet/soft-serve";
|
||||
changelog = "https://github.com/charmbracelet/soft-serve/releases/tag/v${version}";
|
||||
mainProgram = "soft";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ penguwin ];
|
||||
};
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, ...
|
||||
}:
|
||||
with lib; {
|
||||
filetype = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||
pname = "dadadaVimFiletype";
|
||||
version = "0.2";
|
||||
src = ./filetype;
|
||||
};
|
||||
|
||||
spacemacsTheme = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||
pname = "spacemacs-theme";
|
||||
version = "2.0.1";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "colepeters";
|
||||
repo = "spacemacs-theme.vim";
|
||||
rev = "056bba9bd05a2c97c63c28216a1c232cfb91529e";
|
||||
sha256 = "0iy3i6waigk759p2z59mrxkjc0p412y7d8zf3cjak4a9sh1sh6qz";
|
||||
};
|
||||
};
|
||||
|
||||
vim-buftabline = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||
pname = "vim-buftabline";
|
||||
version = "master";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "ap";
|
||||
repo = "vim-buftabline";
|
||||
rev = "73b9ef5dcb6cdf6488bc88adb382f20bc3e3262a";
|
||||
sha256 = "1vs4km7fb3di02p0771x42y2bsn1hi4q6iwlbrj0imacd9affv5y";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
setlocal expandtab
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
|
@ -1,11 +0,0 @@
|
|||
let b:ale_fixers = ['clang-format', 'remove_trailing_lines', 'trim_whitespace']
|
||||
let b:ale_linters = ['clangd']
|
||||
|
||||
"setlocal tabstop=8 expandtab shiftwidth=2 smarttab
|
||||
" GNU Coding Standards
|
||||
setlocal cindent
|
||||
setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
||||
setlocal textwidth=79
|
||||
setlocal fo-=ro fo+=cql
|
|
@ -1,3 +0,0 @@
|
|||
setlocal expandtab
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
|
@ -1,2 +0,0 @@
|
|||
" Set up :make to use fish for syntax checking.
|
||||
compiler fish
|
|
@ -1,3 +0,0 @@
|
|||
class Foo {
|
||||
fun
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
set expandtab&
|
||||
setlocal shiftwidth=4
|
||||
setlocal softtabstop=4
|
|
@ -1,3 +0,0 @@
|
|||
setlocal expandtab
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
|
@ -1,5 +0,0 @@
|
|||
let b:ale_fixers = ['prettier', 'eslint']
|
||||
|
||||
setlocal expandtab
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
|
@ -1,5 +0,0 @@
|
|||
setlocal expandtab
|
||||
setlocal shiftwidth=4
|
||||
setlocal softtabstop=4
|
||||
let g:ale_kotlin_languageserver_executable = "/home/tim/src/kotlin-language-server/server/build/install/server/bin/kotlin-language-server"
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
setlocal expandtab
|
||||
setlocal shiftwidth=4
|
||||
setlocal softtabstop=4
|
|
@ -1,2 +0,0 @@
|
|||
let b:ale_linters = {'markdown': ['languagetool']}
|
||||
let b:ale_fixers = {'markdown': ['languagetool']}
|
|
@ -1,5 +0,0 @@
|
|||
setlocal expandtab
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
||||
|
||||
let b:ale_fixers = [ 'nixpkgs-fmt', 'remove_trailing_lines', 'trim_whitespace']
|
|
@ -1,3 +0,0 @@
|
|||
setlocal expandtab
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
|
@ -1,4 +0,0 @@
|
|||
" Check Python files with flake8 and pylint.
|
||||
let b:ale_linters = ['flake8', 'pylint']
|
||||
" Fix Python files with autopep8 and yapf.
|
||||
let b:ale_fixers = ['autopep8', 'yapf', 'add_blank_lines_for_python_control_statements', 'autopep8', 'remove_trailing_lines', 'reorder-python-imports', 'trim_whitespace']
|
|
@ -1,2 +0,0 @@
|
|||
let b:ale_linters = {'rust': ['rustc', 'rls', 'rust-analyzer']}
|
||||
let b:ale_fixers = {'rust': ['rustfmt']}
|
|
@ -1,3 +0,0 @@
|
|||
setlocal expandtab
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
|
@ -1,7 +0,0 @@
|
|||
setlocal tabstop=2
|
||||
setlocal shiftwidth=2
|
||||
setlocal expandtab
|
||||
setlocal textwidth=79
|
||||
|
||||
let b:ale_linters = {'tex': ['texlab']}
|
||||
let b:ale_fixers = {'tex': ['remove_trailing_lines', 'trim_whitespace', 'texlab']}
|
|
@ -1,5 +0,0 @@
|
|||
let b:ale_fixers = ['prettier', 'eslint', 'tsserver']
|
||||
|
||||
setlocal expandtab
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
|
@ -1,4 +0,0 @@
|
|||
setlocal expandtab
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue