Add telega.el; use melpa; refactor emacs packages
This commit is contained in:
parent
edde4a11d5
commit
f961891053
57
packages.nix
57
packages.nix
@ -2,8 +2,20 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
unstable = import <unstable> {};
|
unstable = import <unstable> {};
|
||||||
|
emacsWithImagemagick = (unstable.emacs.override {
|
||||||
|
srcRepo = true;
|
||||||
|
imagemagick = unstable.imagemagickBig;
|
||||||
|
});
|
||||||
|
nixpkgs-tars = "https://github.com/NixOS/nixpkgs/archive/";
|
||||||
in {
|
in {
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config = {
|
||||||
|
allowUnfree = true;
|
||||||
|
packageOverrides = pkgs: {
|
||||||
|
pr64977 = import (fetchTarball "${nixpkgs-tars}7da8de19b1f394c92f27b8d953b85cfce1770427.tar.gz") {
|
||||||
|
config = config.nixpkgs.config;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
programs.browserpass.enable = true;
|
programs.browserpass.enable = true;
|
||||||
@ -61,16 +73,14 @@ in {
|
|||||||
spice
|
spice
|
||||||
spice-gtk
|
spice-gtk
|
||||||
|
|
||||||
(python3.withPackages(ps: with ps; [
|
# temporary
|
||||||
ipython
|
pr64977.telega-server
|
||||||
pillow opencv3 torchvision
|
|
||||||
# elpy
|
|
||||||
autopep8 jedi yapf black flake8 rope
|
|
||||||
]))
|
|
||||||
|
|
||||||
(unstable.emacsWithPackages(epkgs: with epkgs; [
|
((unstable.emacsPackagesNgGen emacsWithImagemagick).emacsWithPackages(epkgs:
|
||||||
|
# MELPA (Milkypostman’s Emacs Lisp Package Archive)
|
||||||
|
(with epkgs.melpaPackages; [
|
||||||
# Programming languages modes
|
# Programming languages modes
|
||||||
cobol-mode haskell-mode rust-mode scala-mode csharp-mode d-mode
|
haskell-mode rust-mode scala-mode csharp-mode d-mode
|
||||||
solidity-mode php-mode go-mode elpy
|
solidity-mode php-mode go-mode elpy
|
||||||
# Development
|
# Development
|
||||||
helm-gtags slime xcscope go-autocomplete
|
helm-gtags slime xcscope go-autocomplete
|
||||||
@ -83,7 +93,34 @@ in {
|
|||||||
smex w3m exec-path-from-shell org-kanban
|
smex w3m exec-path-from-shell org-kanban
|
||||||
# Appearance
|
# Appearance
|
||||||
zenburn-theme solarized-theme
|
zenburn-theme solarized-theme
|
||||||
]))
|
])
|
||||||
|
++
|
||||||
|
# GNU Elpa
|
||||||
|
(with epkgs.elpaPackages; [
|
||||||
|
# Programming languages modes
|
||||||
|
cobol-mode
|
||||||
|
])
|
||||||
|
++
|
||||||
|
# Custom packaged
|
||||||
|
[
|
||||||
|
((unstable.emacsPackagesNgFor emacsWithImagemagick).melpaBuild {
|
||||||
|
pname = "telega";
|
||||||
|
ename = "telega";
|
||||||
|
recipe = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/melpa/melpa/master/recipes/telega";
|
||||||
|
sha256 = "0n1n1fciwh7jbakdjkx36aq6k0is0c694j3n5dicwvfp7spca7p8";
|
||||||
|
name = "recipe";
|
||||||
|
};
|
||||||
|
version = "0.4.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zevlg";
|
||||||
|
repo = "telega.el";
|
||||||
|
rev = "0.4.0";
|
||||||
|
sha256 = "1a5fxix2zvs461vn6zn36qgpg65bl38gfb3ivr24wmxq1avja5s1";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
]
|
||||||
|
))
|
||||||
|
|
||||||
# dev
|
# dev
|
||||||
go gnumake gcc clang clang-analyzer global
|
go gnumake gcc clang clang-analyzer global
|
||||||
|
Loading…
Reference in New Issue
Block a user