Changeset 254aa1d in dotfiles


Ignore:
Timestamp:
Aug 5, 2024, 6:53:43 AM (3 months ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
fe2941b
Parents:
7bfb563
git-author:
Mikhail Kirillov <w96k@…> (08/05/24 06:33:27)
git-committer:
Mikhail Kirillov <w96k@…> (08/05/24 06:53:43)
Message:

Massively update guix home

Files:
8 added
47 deleted
12 edited
8 moved

Legend:

Unmodified
Added
Removed
  • X/.Xdefaults

    r7bfb563 r254aa1d  
    4848xterm*vt100.locale: true
    4949xterm*font: x:-adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1
    50 xterm*boldFont: x:-adobe-courier-medium-r-bold--14-140-75-75-m-90-iso8859-1
     50! xterm*boldFont: x:-adobe-courier-medium-r-bold--14-140-75-75-m-90-iso8859-1
    5151xterm*vt100.allowBoldFonts: True
    5252xterm*renderFont: True
  • cvs/.gitconfig

    r7bfb563 r254aa1d  
    11[user]
    22        name = Mikhail Kirillov
    3         email = w96k@riseup.net
     3        email = w96k@runbox.com
    44[gpg]
    55        program = gpg2
     
    1010[sendemail]
    1111        smtpEncryption = tls
    12         smtpServer = smtp.riseup.net
    13         smtpUser = w96k@riseup.net
     12        smtpServer = mail.runbox.com
     13        smtpUser = w96k@runbox.com
    1414        smtpServerPort = 587
    1515[init]
  • cvs/.hgrc

    r7bfb563 r254aa1d  
    11# example user config (see 'hg help config' for more info)
    22[ui]
    3 username = Mikhail Kirillov <w96k@riseup.net>
     3username = Mikhail Kirillov <w96k@runbox.com>
    44
    55# We recommend enabling tweakdefaults to get slight improvements to
  • emacs/.emacs.d/.emacs-config.org

    r7bfb563 r254aa1d  
    217217#+end_src
    218218
    219 * Инициализация
    220 Следующие блоки кода выводят в файл early-init.el
    221 ** Компиляция
    222 JIT компиляция elisp кода в машинный
    223 #+begin_src elisp :tangle nil
    224   (when (eq window-system 'pgtk)
    225     (pgtk-use-im-context t))
    226 
    227   (when (fboundp 'native-compile-async)
    228       (setq comp-async-compilation t
    229         package-native-compile t
    230 
    231         native-comp-speed 2
    232         native-comp-async-jobs-number 1
    233         comp-num-cpus 2
    234         ;; JIT Compilation
    235         native-comp-deferred-compilation t
    236         ;; AOT Compilation
    237         package-native-compile t
    238         comp-async-report-warnings-errors nil))
    239 #+end_src
    240 
    241219*** Ручная компиляция
    242220#+begin_src elisp :tangle nil :results nil
     
    438416приходилось танглить вручную.
    439417#+BEGIN_SRC emacs-lisp :tangle init.el
    440   (setq config-dotfiles-path "~/projects/dotfiles/emacs/.emacs.d/"
     418  (setq config-dotfiles-path "/home/w96k/projects/dotfiles/emacs/.emacs.d/"
    441419        config-path "~/.emacs.d/"
    442420        config-name ".emacs-config.org")
     
    11961174  (setq org-todo-keywords
    11971175        (quote ((sequence "TODO(t)"
    1198                           "MIGRATE(m)" "|"
     1176                          "MIGRATE(m)"
    11991177                          "IN PROGRESS(p)"
    12001178                          "DONE(d)")
     
    13101288          mastodon-instance-url "https://fosstodon.org/"))
    13111289#+end_src
     1290
     1291** LLM
     1292#+begin_src emacs-lisp
     1293
     1294#+end_src
     1295
    13121296
    13131297* Наука
  • guix/.config/gtk-3.0/gtk.css

    • Property mode changed from 100644 to 120000
    r7bfb563 r254aa1d  
    1 undershoot.top,
    2 undershoot.right,
    3 undershoot.bottom,
    4 undershoot.left {
    5     background-image: none;
    6 }
    7 
    8 * {
    9     transition: 0;
    10 }
    11 
    12 scrollbar {
    13     -GtkScrollbar-has-backward-stepper: true;
    14     -GtkScrollbar-has-forward-stepper: true;
    15 }
    16 
    17 scrollbar.vertical {
    18     padding: 0.1em 0;
    19     margin: 0;
    20     opacity: 1;
    21 }
    22 
    23 scrollbar.vertical slider {
    24     border-radius: 0;
    25     margin: 0;
    26     padding: 0;
    27     border-radius: 0.2em;
    28     transition: 0;
    29     background-color: #bbb;
    30 }
    31 
    32 scrollbar.vertical slider:hover {
    33     background-color: #aaa;
    34 }
    35 
    36 menubar {
    37     font-size: 10pt;
    38     background: #eee;
    39 }
    40 
    41 menubar menuitem:first-child {
    42     border-left: 0;
    43 }
    44 
    45 menubar menuitem {
    46     border-left: 1px solid #ddd;
    47     padding: 0.35em 0.35em 0.15em 0.35em;
    48 }
    49 
    50 menubar > menuitem:hover {
    51     background: #ddd;
    52     color: #000;
    53 
    54 }
    55 
    56 scrollbar, scrollbar trough {
    57     background-color: #fafafa;
    58     padding: 0;
    59     margin: 0;
    60 }
    61 
    62 manubar tab {
    63     padding: 0;
    64 }
    65 
    66 toolbar {
    67     background: #fafafa;
    68     padding: 0;
    69     margin-top: 0.15em;
    70 }
    71 
    72 toolbar button {
    73     border-radius: 0;
    74     transition: 0;
    75     padding: 0.1em;
    76     font-size: 10pt
    77 }
    78 
    79 @binding-set gtk-emacs-text-entry
    80 {
    81   bind "<ctrl>b" { "move-cursor" (logical-positions, -1, 0) };
    82   bind "<shift><ctrl>b" { "move-cursor" (logical-positions, -1, 1) };
    83   bind "<ctrl>f" { "move-cursor" (logical-positions, 1, 0) };
    84   bind "<shift><ctrl>f" { "move-cursor" (logical-positions, 1, 1) };
    85 
    86   bind "<alt>b" { "move-cursor" (words, -1, 0) };
    87   bind "<shift><alt>b" { "move-cursor" (words, -1, 1) };
    88   bind "<alt>f" { "move-cursor" (words, 1, 0) };
    89   bind "<shift><alt>f" { "move-cursor" (words, 1, 1) };
    90 
    91   bind "<ctrl>a" { "move-cursor" (paragraph-ends, -1, 0) };
    92   bind "<shift><ctrl>a" { "move-cursor" (paragraph-ends, -1, 1) };
    93   bind "<ctrl>e" { "move-cursor" (paragraph-ends, 1, 0) };
    94   bind "<shift><ctrl>e" { "move-cursor" (paragraph-ends, 1, 1) };
    95 
    96   bind "<ctrl>w" { "cut-clipboard" () };
    97   bind "<ctrl>y" { "paste-clipboard" () };
    98 
    99   bind "<ctrl>d" { "delete-from-cursor" (chars, 1) };
    100   bind "<alt>d" { "delete-from-cursor" (word-ends, 1) };
    101   bind "<ctrl>k" { "delete-from-cursor" (paragraph-ends, 1) };
    102   bind "<alt>backslash" { "delete-from-cursor" (whitespace, 1) };
    103 
    104   bind "<alt>space" { "delete-from-cursor" (whitespace, 1)
    105                       "insert-at-cursor" (" ") };
    106   bind "<alt>KP_Space" { "delete-from-cursor" (whitespace, 1)
    107                          "insert-at-cursor" (" ")  };
    108   /*
    109    * Some non-Emacs keybindings people are attached to
    110    */
    111   bind "<ctrl>u" { "move-cursor" (paragraph-ends, -1, 0)
    112                    "delete-from-cursor" (paragraph-ends, 1) };
    113 
    114   bind "<ctrl>h" { "delete-from-cursor" (chars, -1) };
    115   bind "<ctrl>w" { "delete-from-cursor" (word-ends, -1) };
    116 }
    117 
    118 /*
    119  * Bindings for GtkTextView
    120  */
    121 @binding-set gtk-emacs-text-view
    122 {
    123   bind "<ctrl>p" { "move-cursor" (display-lines, -1, 0) };
    124   bind "<shift><ctrl>p" { "move-cursor" (display-lines, -1, 1) };
    125   bind "<ctrl>n" { "move-cursor" (display-lines, 1, 0) };
    126   bind "<shift><ctrl>n" { "move-cursor" (display-lines, 1, 1) };
    127 
    128   bind "<ctrl>space" { "set-anchor" () };
    129   bind "<ctrl>KP_Space" { "set-anchor" () };
    130 }
    131 
    132 /*
    133  * Bindings for GtkTreeView
    134  */
    135 @binding-set gtk-emacs-tree-view
    136 {
    137   bind "<ctrl>s" { "start-interactive-search" () };
    138   bind "<ctrl>f" { "move-cursor" (logical-positions, 1) };
    139   bind "<ctrl>b" { "move-cursor" (logical-positions, -1) };
    140 }
    141 
    142 /*
    143  * Bindings for menus
    144  */
    145 @binding-set gtk-emacs-menu
    146 {
    147   bind "<ctrl>n" { "move-current" (next) };
    148   bind "<ctrl>p" { "move-current" (prev) };
    149   bind "<ctrl>f" { "move-current" (child) };
    150   bind "<ctrl>b" { "move-current" (parent) };
    151 }
    152 
    153 GtkEntry {
    154   -gtk-key-bindings: gtk-emacs-text-entry;
    155 }
    156 
    157 GtkTextView {
    158   -gtk-key-bindings: gtk-emacs-text-entry, gtk-emacs-text-view;
    159 }
    160 
    161 GtkTreeView {
    162   -gtk-key-bindings: gtk-emacs-tree-view;
    163 }
    164 
    165 GtkMenuShell {
    166   -gtk-key-bindings: gtk-emacs-menu;
    167 }
    168 
    169 class "GtkMenuShell" binding "gtk-emacs-menu"
     1/gnu/store/nhb78g142d0affc3w3b92r86gmm9939z-home-dotfiles--config-gtk-3-0-gtk-css
  • guix/.config/gtk-3.0/settings.ini

    • Property mode changed from 100644 to 120000
    r7bfb563 r254aa1d  
    1 [Settings]
    2 gtk-key-theme-name = Emacs
    3 gtk-primary-button-warps-slider = false
    4 # Ignore since we do that in font-config and .Xdefaults
    5 gtk-xft-antialias=1
    6 gtk-xft-hinting=1
    7 gtk-xft-hintstyle=hintslight
    8 gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
    9 gtk-icon-sizes = "panel-menu=12,12:panel=12,12:gtk-menu=12,12:gtk-large-toolbar=12,12:gtk-small-toolbar=12,12:gtk-button=12,12"
    10 gtk-decoration-layout=menu:closes
    11 # gtk-font-name=FreeFont Sans 14
    12 # gtk-primary-button-warps-slider=false
    13 gtk-menu-popup-delay = 0
    14 #gtk-menu-images = 0
    15 # gtk-button-images = 0
    16 gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
     1/gnu/store/y5zs7640jnmm12sc88x88a4k8884isfp-home-dotfiles--config-gtk-3-0-settings-ini
  • guix/.config/nixpkgs/config.nix

    • Property mode changed from 100644 to 120000
    r7bfb563 r254aa1d  
    1 {
    2   allowUnfree = true;
    3 }
     1/gnu/store/n7qm12fzblg61qblw7ylgfwwmxq14f4w-home-dotfiles--config-nixpkgs-config-nix
  • guix/.dotfiles/.bash_profile

    r7bfb563 r254aa1d  
    1 # Set up Guix Home profile
    2 if [ -f ~/.profile ]; then . ~/.profile; fi
    3 
    4 # Honor per-interactive-shell startup file
    5 if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
    6 
    71# Merge search-paths from multiple profiles, the order matters.
    82eval "$(guix package --search-paths \
  • guix/.guix-packages/emacs.scm

    • Property mode changed from 100644 to 120000
    r7bfb563 r254aa1d  
    1 (define-module (emacs)
    2   #:use-module ((guix licenses) #:prefix license:)
    3   #:use-module (guix packages)
    4   #:use-module (guix download)
    5   #:use-module (guix build-system gnu)
    6   #:use-module (guix git-download)
    7   #:use-module (guix licenses)
    8   #:use-module (guix utils)
    9   #:use-module (guix memoization)
    10   #:use-module (guix build-system emacs)
    11   #:use-module (guix build-system glib-or-gtk)
    12   #:use-module (gnu packages)
    13   #:use-module (gnu packages imagemagick)
    14   #:use-module (gnu packages xorg)
    15   #:use-module (gnu packages base)
    16   #:use-module (gnu packages code)
    17   #:use-module (gnu packages gcc)
    18   #:use-module (gnu packages php)
    19   #:use-module (gnu packages web) 
    20   #:use-module (gnu packages autotools)
    21   #:use-module (gnu packages compression)
    22   #:use-module (gnu packages emacs)
    23   #:use-module (gnu packages emacs-xyz)
    24   #:use-module (guix utils)
    25   #:use-module (srfi srfi-1)
    26   #:use-module (ice-9 match))
    27 
    28 (define-public emacs-pythonic
    29   (package
    30    (name "emacs-pythonic")
    31    (version "0.2.0")
    32    (source (origin
    33             (method git-fetch)
    34             (uri (git-reference
    35                   (url "https://github.com/pythonic-emacs/pythonic.git")
    36                   (commit (string-append "v" version))))
    37             (file-name (git-file-name name version))
    38             (sha256
    39              (base32
    40               "0hbvy8wdi5dgxn86j8z54y2fhcvm605xxm6xv054nl6fw2hh2h5h"))))
    41    (build-system emacs-build-system)
    42    (propagated-inputs
    43     `(("s" ,emacs-s)
    44       ("f" ,emacs-f)))
    45    (home-page "https://github.com/pythonic-emacs/anaconda-mode")
    46    (synopsis "Utility functions for writing pythonic emacs package.")
    47    (description
    48     "Utility functions for writing pythonic emacs package.")
    49    (license license:gpl3+)))
    50 
    51 (define-public emacs-anaconda-mode
    52   (package
    53    (name "emacs-anaconda-mode")
    54    (version "0.1.14")
    55    (source (origin
    56             (method git-fetch)
    57             (uri (git-reference
    58                   (url "https://github.com/pythonic-emacs/anaconda-mode.git")
    59                   (commit (string-append "v" version))))
    60             (file-name (git-file-name name version))
    61             (sha256
    62              (base32
    63               "04f6kw4rd8k6waiyfbk7x8qdrqm411mdsdzjh2w9rvmv7y36ckh8"))))
    64    (build-system emacs-build-system)
    65    (propagated-inputs
    66     `(("emacs-pythonic" ,emacs-pythonic)
    67       ("dash" ,emacs-dash)
    68       ("s" ,emacs-s)
    69       ("f" ,emacs-f)))
    70    (home-page "https://github.com/pythonic-emacs/anaconda-mode")
    71    (synopsis "Code navigation, documentation lookup and completion for
    72 Python.")
    73    (description
    74     "Code navigation, documentation lookup and completion for Python.")
    75    (license license:gpl3)))
    76 
    77 (define-public emacs-kiwix
    78   (package
    79    (name "emacs-kiwix")
    80    (version "1.0.3")
    81    (source
    82     (origin
    83      (method url-fetch)
    84      (uri (string-append
    85            "https://elpa.gnu.org/packages/kiwix-"
    86            version
    87            ".tar"))
    88      (sha256
    89       (base32
    90        "061b816xp8ykqd56z0nvc69aql9y4mba42p6x6vc0j6gr9n3c1j6"))))
    91    (build-system emacs-build-system)
    92    (propagated-inputs
    93     `(("emacs-request" ,emacs-request)))
    94    (home-page
    95     "https://github.com/stardiviner/kiwix.el")
    96    (synopsis
    97     "Searching offline Wikipedia through Kiwix.")
    98    (description
    99     "Emacs client for a free offline web browser created by Emmanuel
    100 Engelhart and Renaud Gaudin in 2007.")
    101    (license license:gpl3+)))
    102 
    103 (define-public emacs-realgud-xdebug
    104   (package
    105    (name "emacs-realgud-xdebug")
    106    (version "0.1.0")
    107    (source
    108     (origin
    109      (uri (git-reference
    110            (url "https://github.com/realgud/realgud-xdebug")
    111            (commit version)))
    112      (method git-fetch)
    113      (sha256
    114       (base32 "0iyxm4yfjwpc322md8iz38xs1y6whqjgsbbs7vdjw1k5029q8nc0"))
    115      (file-name (git-file-name name version))))
    116    (build-system emacs-build-system)
    117    (inputs
    118     (list emacs-realgud))
    119    (home-page "https://github.com/realgud/realgud-xdebug/")
    120    (synopsis
    121     "Modular front-end for interacting with external debuggers")
    122    (description
    123     "RealGUD is a modular, extensible GNU Emacs front-end for interacting
    124 with external debuggers.  It integrates various debuggers such as gdb, pdb,
    125 ipdb, jdb, lldb, bashdb, zshdb, etc. and allows visually steping through code in the
    126 sources.  Unlike GUD, it also supports running multiple debug sessions in
    127 parallel.")
    128    (license license:gpl3+)))
    129 
    130 (define-public emacs-xcscope
    131     (package
    132      (name "emacs-xcscope")
    133      (version "1.5")
    134      (source (origin
    135             (method git-fetch)
    136             (uri (git-reference
    137                   (url "https://github.com/dkogan/xcscope.el")
    138                   (commit (string-append "v" version))))
    139             (file-name (git-file-name name version))
    140             (sha256
    141              (base32
    142               "0w2bxrnidladpzrd82z3w3gvjhajs71k5vjk2y03r09i9fwn2ykc"))))
    143      (build-system emacs-build-system)
    144      (home-page "https://github.com/realgud/realgud-xdebug/")
    145      (synopsis
    146       "emacs auto-complete & company-mode for php ")
    147      (description
    148       "The PHP code completion and the jump to definition/declaration/inclusion-file provided by phpctags")
    149      (license license:gpl3+)))
    150 
    151 (define-public emacs-ac-php
    152     (package
    153      (name "emacs-ac-php")
    154      (version "2.4.2")
    155      (source (origin
    156             (method git-fetch)
    157             (uri (git-reference
    158                   (url "https://github.com/xcwen/ac-php")
    159                   (commit version)))
    160             (file-name (git-file-name name version))
    161             (sha256
    162              (base32
    163               "08vfdp7q6x5fk2nn5dl884cyysxrl2gw8f16g7wqvf7v24jmx71d"))))
    164      (build-system emacs-build-system)
    165      (native-inputs
    166       (list emacs-company emacs-helm))
    167      (propagated-inputs
    168       (list emacs-php-mode php emacs-s
    169             emacs-f emacs-popup emacs-dash
    170             emacs-xcscope cscope emacs-auto-complete
    171             emacs-yasnippet))
    172      (home-page "https://github.com/xcwen/ac-php")
    173      (synopsis
    174       "emacs auto-complete & company-mode for php ")
    175      (description
    176       "The PHP code completion and the jump to definition/declaration/inclusion-file provided by phpctags")
    177      (license license:gpl3+)))
    178 
    179 (define-public emacs-php-quickhelp
    180     (package
    181      (name "emacs-php-quickhelp")
    182      (version "0.5.5")
    183      (source (origin
    184             (method git-fetch)
    185             (uri (git-reference
    186                   (url "https://github.com/vpxyz/php-quickhelp")
    187                   (commit (string-append "v" version))))
    188             (file-name (git-file-name name version))
    189             (sha256
    190              (base32
    191               "1d9rg699wl67qkb93r4qnjn0ng4xn9c2g6kc98zaiy2v0v2wcv8g"))))
    192      (build-system emacs-build-system)
    193      (propagated-inputs
    194       (list jq))
    195      (home-page "https://github.com/vpxyz/php-quickhelp")
    196      (synopsis
    197       "A php quickhelp and eldoc backed for emacs ")
    198      (description
    199       "Provide quick help (and a eldoc beckend) for company-php and company-phpactor. It require jq to extract a short help from php manual.")
    200      (license license:gpl3+)))
    201 
    202 (define-public emacs-mastodon-updated
    203   (package
    204    (inherit emacs-mastodon)
    205    (name "emacs-mastodon")
    206    (version "1.0.0")
    207    (source (origin
    208             (method git-fetch)
    209             (uri (git-reference
    210                   (url "https://codeberg.org/martianh/mastodon.el")
    211                   (commit version)))
    212             (file-name (git-file-name name version))
    213             (sha256
    214              (base32
    215               "13swcbvwhjl8ksrgzvmfafkgd3iz8znk49bs1n48w3g9qvh097w7"))))
    216    (propagated-inputs
    217     (list emacs-request))
    218    (build-system emacs-build-system)))
    219 
    220 (define-public emacs-mini-modeline
    221   (package
    222     (name "emacs-mini-modeline")
    223     (version "20211130.604")
    224     (source (origin
    225               (method git-fetch)
    226               (uri (git-reference
    227                     (url "https://github.com/kiennq/emacs-mini-modeline.git")
    228                     (commit "434b98b22c69c8b3b08e9c267c935591c49a8301")))
    229               (sha256
    230                (base32
    231                 "063bpi3gxzi6kkc3mb9h4m8lvbsvfw47z559960h912h2l3z6vhq"))))
    232     (build-system emacs-build-system)
    233     (propagated-inputs (list emacs-dash))
    234     (home-page "https://github.com/kiennq/emacs-mini-modeline")
    235     (synopsis "Display modeline in minibuffer")
    236     (description
    237      "Display modeline in minibuffer.  With this we save one display line and also
    238 don't have to see redundant information.")
    239     (license #f)))
    240 
    241 (define-public emacs-isearch-mb
    242   (package
    243     (name "emacs-isearch-mb")
    244     (version "0.5")
    245     (source (origin
    246               (method url-fetch)
    247               (uri (string-append "https://elpa.gnu.org/packages/isearch-mb-"
    248                                   version ".tar"))
    249               (sha256
    250                (base32
    251                 "0fah8dmh9jv05i93ccn9dvl7qmfy32vwxqdzkf1v8gr1plsyjyx7"))))
    252     (build-system emacs-build-system)
    253     (home-page "https://github.com/astoff/isearch-mb")
    254     (synopsis "Control isearch from the minibuffer")
    255     (description "")
    256     (license license:gpl3+)))
     1/gnu/store/bp44dky1ixj2w1hqjs8nw7a5k177vl9s-home-dotfiles--guix-packages-emacs-scm
  • guix/.guix-packages/kiwix.scm

    • Property mode changed from 100644 to 120000
    r7bfb563 r254aa1d  
    1 (define-module (kiwix)
    2   #:use-module ((guix licenses) #:prefix license:)
    3   #:use-module (guix packages)
    4   #:use-module (guix download)
    5   #:use-module (guix build-system gnu)
    6   #:use-module (guix git-download)
    7   #:use-module (guix licenses)
    8   #:use-module (guix utils)
    9   #:use-module (guix build-system meson)
    10   #:use-module (gnu packages cmake)
    11   #:use-module (gnu packages web)
    12   #:use-module (gnu packages gnunet)
    13   #:use-module (gnu packages pkg-config)
    14   #:use-module (gnu packages search)
    15   #:use-module (gnu packages icu4c)
    16   #:use-module (gnu packages xml)
    17   #:use-module (gnu packages curl)
    18   #:use-module (gnu packages compression))
    19 
    20 (define-public kiwix-tools
    21   (package
    22     (name "kiwix-tools")
    23     (version "3.1.2")
    24     (source (origin
    25               (method git-fetch)
    26               (uri (git-reference
    27                     (url "https://github.com/kiwix/kiwix-tools.git")
    28                     ;;(commit (string-append "v" version))
    29                     (commit version)
    30                     ))
    31               (file-name (git-file-name name version))
    32               (sha256
    33                (base32
    34                 "1jmvw9llmj8cah6kwmdamwjpakz9ly688a988kd7sy22av8jnz4b"))))
    35     (build-system meson-build-system)
    36     (native-inputs
    37      `(("cmake" ,cmake)))
    38     (inputs
    39      `(
    40        ("libzim" ,libzim)
    41        ("libmicrohttpd" ,libmicrohttpd)
    42        ("zlib" ,zlib)
    43        ("pkg-config" ,pkg-config)
    44        ("zstd" ,zstd "lib")
    45        ("xapian" ,xapian)
    46        ("icu4c" ,icu4c)
    47        ("pugixml" ,pugixml)
    48        ("curl" ,curl)
    49        ))
    50     (propagated-inputs
    51      `(("kiwix-lib" ,kiwix-lib)))
    52     (home-page "https://kiwix.org/")
    53     (synopsis "")
    54     (description
    55      "")
    56     (license license:gpl3+)))
     1/gnu/store/38h5jn2wp5g1s4wqrx8maxz7vw2fshwx-home-dotfiles--guix-packages-kiwix-scm
  • guix/.guix-packages/php.scm

    • Property mode changed from 100644 to 120000
    r7bfb563 r254aa1d  
    1 (define-module (php)
    2   #:use-module (gnu packages php)
    3   #:use-module (gnu packages)
    4   #:use-module (gnu packages algebra)
    5   #:use-module (gnu packages aspell)
    6   #:use-module (gnu packages base)
    7   #:use-module (gnu packages bison)
    8   #:use-module (gnu packages compression)
    9   #:use-module (gnu packages crypto)
    10   #:use-module (gnu packages curl)
    11   #:use-module (gnu packages cyrus-sasl)
    12   #:use-module (gnu packages databases)
    13   #:use-module (gnu packages dbm)
    14   #:use-module (gnu packages fontutils)
    15   #:use-module (gnu packages gd)
    16   #:use-module (gnu packages gettext)
    17   #:use-module (gnu packages gnupg)
    18   #:use-module (gnu packages icu4c)
    19   #:use-module (gnu packages image)
    20   #:use-module (gnu packages linux)
    21   #:use-module (gnu packages multiprecision)
    22   #:use-module (gnu packages openldap)
    23   #:use-module (gnu packages pcre)
    24   #:use-module (gnu packages pkg-config)
    25   #:use-module (gnu packages readline)
    26   #:use-module (gnu packages sqlite)
    27   #:use-module (gnu packages textutils)
    28   #:use-module (gnu packages tls)
    29   #:use-module (gnu packages web)
    30   #:use-module (gnu packages xml)
    31   #:use-module (gnu packages xorg)
    32   #:use-module (guix packages)
    33   #:use-module (guix download)
    34   #:use-module (guix build-system gnu)
    35   #:use-module (guix utils)
    36   #:use-module ((guix licenses) #:prefix license:))
    37 
    38 ;; (define-public php-8
    39 ;;   (package
    40 ;;     (name "php-8")
    41 ;;     (version "8.1.9")
    42 ;;     (home-page "https://secure.php.net/")
    43 ;;     (source (origin
    44 ;;               (method url-fetch)
    45 ;;               (uri (string-append home-page "distributions/"
    46 ;;                                   "php-" version ".tar.xz"))
    47 ;;               (sha256
    48 ;;                (base32
    49 ;;                 "1gr79i9dwm7qiqgimxms8rlvzzazh66sa4w9nr1cjk95wrrpwisk"))
    50 ;;               (modules '((guix build utils)))
    51 ;;               (snippet
    52 ;;                '(with-directory-excursion "ext"
    53 ;;                   (for-each delete-file-recursively
    54 ;;                             ;; Some of the bundled libraries have no proper upstream.
    55 ;;                             ;; Ideally we'd extract these out as separate packages:
    56 ;;                             ;;"mbstring/libmbfl"
    57 ;;                             ;;"date/lib"
    58 ;;                             ;;"bcmath/libbcmath"
    59 ;;                             ;;"fileinfo/libmagic" ; a patched version of libmagic
    60 ;;                             '("gd/libgd"
    61 ;;                               "pcre/pcre2lib"
    62 ;;                               "xmlrpc/libxmlrpc"))))))
    63 ;;     (build-system gnu-build-system)
    64 ;;     (arguments
    65 ;;      `(#:configure-flags
    66 ;;        (let-syntax ((with (syntax-rules ()
    67 ;;                             ((_ option input)
    68 ;;                              (string-append option "="
    69 ;;                                             (assoc-ref %build-inputs input))))))
    70 ;;          (list (with "--with-bz2" "bzip2")
    71 ;;                (with "--with-curl" "curl")
    72 ;;                (with "--with-gdbm" "gdbm")
    73 ;;                (with "--with-gettext" "libc")  ; libintl.h
    74 ;;                (with "--with-gmp" "gmp")
    75 ;;                (with "--with-ldap" "openldap")
    76 ;;                (with "--with-ldap-sasl" "cyrus-sasl")
    77 ;;                (with "--with-pdo-pgsql" "postgresql")
    78 ;;                (with "--with-pdo-sqlite" "sqlite")
    79 ;;                (with "--with-pgsql" "postgresql")
    80 ;;                ;; PHP’s Pspell extension, while retaining its current name,
    81 ;;                ;; now uses the Aspell library.
    82 ;;                (with "--with-pspell" "aspell")
    83 ;;                (with "--with-readline" "readline")
    84 ;;                (with "--with-sodium" "libsodium")
    85 ;;                (with "--with-sqlite3" "sqlite")
    86 ;;                (with "--with-tidy" "tidy")
    87 ;;                (with "--with-xsl" "libxslt")
    88 ;;                (with "--with-zlib-dir" "zlib")
    89 ;;                ;; We could add "--with-snmp", but it requires netsnmp that
    90 ;;                ;; we don't have a package for. It is used to build the snmp
    91 ;;                ;; extension of php.
    92 ;;                "--with-external-pcre"
    93 ;;                "--with-external-gd"
    94 ;;                "--with-iconv"
    95 ;;                "--with-openssl"
    96 ;;                "--with-mysqli"          ; Required for, e.g. wordpress
    97 ;;                "--with-pdo-mysql"
    98 ;;                "--with-zip"
    99 ;;                "--with-zlib"
    100 ;;                "--enable-bcmath"        ; Required for, e.g. Zabbix frontend
    101 ;;                "--enable-calendar"
    102 ;;                "--enable-dba=shared"
    103 ;;                "--enable-exif"
    104 ;;                "--enable-flatfile"
    105 ;;                "--enable-fpm"
    106 ;;                "--enable-ftp"
    107 ;;                "--enable-gd"
    108 ;;                "--enable-inifile"
    109 ;;                "--enable-intl"
    110 ;;                "--enable-mbstring"
    111 ;;                "--enable-pcntl"
    112 ;;                "--enable-sockets"))
    113 ;;        #:phases
    114 ;;        (modify-phases %standard-phases
    115 ;;          (add-after 'unpack 'do-not-record-build-flags
    116 ;;            (lambda _
    117 ;;              ;; Prevent configure flags from being stored and causing
    118 ;;              ;; unnecessary runtime dependencies.
    119 ;;              (substitute* "scripts/php-config.in"
    120 ;;                (("@CONFIGURE_OPTIONS@") "")
    121 ;;                (("@PHP_LDFLAGS@") ""))
    122 ;;              ;; This file has ISO-8859-1 encoding.
    123 ;;              (with-fluids ((%default-port-encoding "ISO-8859-1"))
    124 ;;                (substitute* "main/build-defs.h.in"
    125 ;;                  (("@CONFIGURE_COMMAND@") "(omitted)")))))
    126 ;;          (add-before 'build 'patch-/bin/sh
    127 ;;            (lambda _
    128 ;;              (substitute* '("run-tests.php" "ext/standard/proc_open.c")
    129 ;;                (("/bin/sh") (which "sh")))))
    130 ;;          (add-before 'check 'prepare-tests
    131 ;;            (lambda _
    132 ;;              ;; Some of these files have ISO-8859-1 encoding, whereas others
    133 ;;              ;; use ASCII, so we can't use a "catch-all" find-files here.
    134 ;;              (with-fluids ((%default-port-encoding "ISO-8859-1"))
    135 ;;                (substitute* '("ext/mbstring/tests/mb_send_mail02.phpt"
    136 ;;                               "ext/mbstring/tests/mb_send_mail04.phpt"
    137 ;;                               "ext/mbstring/tests/mb_send_mail05.phpt"
    138 ;;                               "ext/mbstring/tests/mb_send_mail06.phpt")
    139 ;;                  (("/bin/cat") (which "cat"))))
    140 ;;              (substitute* '("ext/mbstring/tests/mb_send_mail01.phpt"
    141 ;;                             "ext/mbstring/tests/mb_send_mail03.phpt"
    142 ;;                             "ext/mbstring/tests/bug52681.phpt"
    143 ;;                             "ext/standard/tests/general_functions/bug34794.phpt"
    144 ;;                             "ext/standard/tests/general_functions/bug44667.phpt"
    145 ;;                             "ext/standard/tests/general_functions/proc_open.phpt")
    146 ;;                (("/bin/cat") (which "cat")))
    147 
    148 ;;              ;; The encoding of this file is not recognized, so we simply drop it.
    149 ;;              (delete-file "ext/mbstring/tests/mb_send_mail07.phpt")
    150 
    151 ;;              (substitute* "ext/standard/tests/streams/bug60602.phpt"
    152 ;;                (("'ls'") (string-append "'" (which "ls") "'")))
    153 
    154 ;;              ,@(if (string-prefix? "arm" (or (%current-system)
    155 ;;                                              (%current-target-system)))
    156 ;;                    ;; Drop tests known to fail on armhf.
    157 ;;                    '((for-each delete-file
    158 ;;                               (list
    159 ;;                                 "ext/calendar/tests/unixtojd_error1.phpt"
    160 ;;                                 ;; arm can be a lot slower, so a time-related test fails
    161 ;;                                 "ext/fileinfo/tests/cve-2014-3538-nojit.phpt"
    162 ;;                                 "ext/pcntl/tests/pcntl_unshare_01.phpt"
    163 ;;                                 "ext/pcre/tests/bug76514.phpt"
    164 ;;                                 "ext/pcre/tests/preg_match_error3.phpt"
    165 ;;                                 "ext/pcre/tests/cache_limit.phpt"
    166 ;;                                 "ext/sockets/tests/socket_getopt.phpt"
    167 ;;                                 "ext/sockets/tests/socket_sendrecvmsg_error.phpt"
    168 ;;                                 "ext/standard/tests/general_functions/var_export-locale.phpt"
    169 ;;                                 "ext/standard/tests/general_functions/var_export_basic1.phpt"
    170 ;;                                 "ext/intl/tests/timezone_getErrorCodeMessage_basic.phpt"
    171 ;;                                 "ext/intl/tests/timezone_getOffset_error.phpt"
    172 ;;                                 "sapi/cli/tests/cli_process_title_unix.phpt"
    173 ;;                                 "sapi/cli/tests/upload_2G.phpt"
    174 ;;                                 "Zend/tests/concat_003.phpt")))
    175 ;;                    '())
    176 
    177 ;;              ,@(if (target-ppc64le?)
    178 ;;                    ;; Drop tests known to fail on powerpc64le.
    179 ;;                    '((for-each delete-file
    180 ;;                                (list
    181 ;;                                 ;; phpdbg watchpoints don't work.
    182 ;;                                 ;; Bug tracked upstream at:
    183 ;;                                 ;; https://bugs.php.net/bug.php?id=81408
    184 ;;                                 "sapi/phpdbg/tests/watch_001.phpt"
    185 ;;                                 "sapi/phpdbg/tests/watch_003.phpt"
    186 ;;                                 "sapi/phpdbg/tests/watch_004.phpt"
    187 ;;                                 "sapi/phpdbg/tests/watch_005.phpt"
    188 ;;                                 "sapi/phpdbg/tests/watch_006.phpt")))
    189 ;;                    '())
    190 
    191 ;;              ;; Drop tests that are known to fail.
    192 ;;              (for-each delete-file
    193 ;;                        '("ext/posix/tests/posix_getgrgid.phpt"    ; Requires /etc/group.
    194 ;;                          "ext/posix/tests/posix_getgrnam_basic.phpt" ; Requires /etc/group.
    195 ;;                          "ext/sockets/tests/bug63000.phpt"        ; Fails to detect OS.
    196 ;;                          "ext/sockets/tests/socket_shutdown.phpt" ; Requires DNS.
    197 ;;                          "ext/sockets/tests/socket_send.phpt"     ; Likewise.
    198 ;;                          "ext/sockets/tests/mcast_ipv4_recv.phpt" ; Requires multicast.
    199 ;;                          ;; These needs /etc/services.
    200 ;;                          "ext/standard/tests/general_functions/getservbyname_basic.phpt"
    201 ;;                          "ext/standard/tests/general_functions/getservbyport_basic.phpt"
    202 ;;                          "ext/standard/tests/general_functions/getservbyport_variation1.phpt"
    203 ;;                          ;; And /etc/protocols.
    204 ;;                          "ext/standard/tests/network/getprotobyname_basic.phpt"
    205 ;;                          "ext/standard/tests/network/getprotobynumber_basic.phpt"
    206 ;;                          ;; And exotic locales.
    207 ;;                          "ext/standard/tests/strings/setlocale_basic1.phpt"
    208 ;;                          "ext/standard/tests/strings/setlocale_basic2.phpt"
    209 ;;                          "ext/standard/tests/strings/setlocale_basic3.phpt"
    210 ;;                          "ext/standard/tests/strings/setlocale_variation1.phpt"
    211 ;;                          ;; This failing test is skipped on PHP's Travis CI as it is
    212 ;;                          ;; supposedly inaccurate.
    213 ;;                          "ext/standard/tests/file/disk_free_space_basic.phpt"
    214 ;;                          ;; The following test erroneously expect the link
    215 ;;                          ;; count of a sub-directory to increase compared to
    216 ;;                          ;; its parent.
    217 ;;                          "ext/standard/tests/file/lstat_stat_variation8.phpt"
    218 ;;                          ;; This tests whether microseconds ‘differ enough’ and
    219 ;;                          ;; fails inconsistently on ‘fast’ machines.
    220 ;;                          "ext/date/tests/bug73837.phpt"
    221 
    222 ;;                          ;; XXX: These gd tests fails.  Likely because our version
    223 ;;                          ;; is different from the (patched) bundled one.
    224 ;;                          ;; Here, gd quits immediately after "fatal libpng error"; while the
    225 ;;                          ;; test expects it to additionally return a "setjmp" error and warning.
    226 ;;                          "ext/gd/tests/bug39780_extern.phpt"
    227 ;;                          "ext/gd/tests/libgd00086_extern.phpt"
    228 ;;                          ;; Extra newline in gd-png output.
    229 ;;                          "ext/gd/tests/bug45799.phpt"
    230 ;;                          ;; Test expects generic "gd warning" but gets the actual function name.
    231 ;;                          "ext/gd/tests/createfromwbmp2_extern.phpt"
    232 ;;                          ;; This bug should have been fixed in gd 2.2.2.
    233 ;;                          ;; Is it a regression?
    234 ;;                          "ext/gd/tests/bug65148.phpt"
    235 ;;                          ;; This bug should have been fixed in the gd 2.2
    236 ;;                          ;; series.  Perhaps a regression introduced by gd
    237 ;;                          ;; 2.3.0?
    238 ;;                          "ext/gd/tests/bug66590.phpt"
    239 ;;                          ;; This bug should have been fixed in the php-5.5
    240 ;;                          ;; series.  Perhaps a regression introduced by gd
    241 ;;                          ;; 2.3.0?
    242 ;;                          "ext/gd/tests/bug70102.phpt"
    243 ;;                          ;; This bug should have been fixed in the php-5.6
    244 ;;                          ;; series.  Perhaps a regression introduced by gd
    245 ;;                          ;; 2.3.0?
    246 ;;                          "ext/gd/tests/bug73869.phpt"
    247 ;;                          ;; Some WebP related tests fail.
    248 ;;                          "ext/gd/tests/webp_basic.phpt"
    249 ;;                          "ext/gd/tests/imagecreatefromstring_webp.phpt"
    250 ;;                          ;; Expected error message, but from the wrong function
    251 ;;                          "ext/gd/tests/bug77269.phpt"
    252 ;;                          ;; TODO: Enable these when libgd is built with xpm support.
    253 ;;                          "ext/gd/tests/xpm2gd.phpt"
    254 ;;                          "ext/gd/tests/xpm2jpg.phpt"
    255 ;;                          "ext/gd/tests/xpm2png.phpt"
    256 ;;                          ;; Whitespace difference, probably caused by a very
    257 ;;                          ;; long store path
    258 ;;                          "ext/gd/tests/bug77479.phpt"
    259 ;;                          ;; Expected invalid XBM but got EOF before image was
    260 ;;                          ;; complete.  It's a warning in both cases and test
    261 ;;                          ;; result is the same.
    262 ;;                          "ext/gd/tests/bug77973.phpt"
    263 ;;                          ;; Test expects uninitialized value to be false, but
    264 ;;                          ;; instead gets "resource(5) of type (gd)".
    265 ;;                          "ext/gd/tests/bug79067.phpt"
    266 ;;                          ;; The following test fails with "The image size
    267 ;;                          ;; differs: expected 114x115, got 117x117".
    268 ;;                          "ext/gd/tests/bug79068.phpt"
    269 
    270 ;;                          ;; XXX: These iconv tests have the expected outcome,
    271 ;;                          ;; but with different error messages.
    272 ;;                          ;; Expects "illegal character", instead gets "unknown error (84)".
    273 ;;                          "ext/iconv/tests/bug52211.phpt"
    274 ;;                          "ext/iconv/tests/bug60494.phpt"
    275 ;;                          ;; Expects "wrong charset", gets unknown error (22).
    276 ;;                          "ext/iconv/tests/iconv_strlen_error2.phpt"
    277 ;;                          "ext/iconv/tests/iconv_substr_error2.phpt"
    278 ;;                          ;; Expects conversion error, gets "error condition Termsig=11".
    279 ;;                          "ext/iconv/tests/iconv_strpos_error2.phpt"
    280 ;;                          "ext/iconv/tests/iconv_strrpos_error2.phpt"
    281 ;;                          ;; Expects "invalid multibyte sequence" but got
    282 ;;                          ;; "unknown error".
    283 ;;                          "ext/iconv/tests/bug76249.phpt"
    284 
    285 ;;                          ;; XXX: These test failures appear legitimate, needs investigation.
    286 ;;                          ;; open_basedir() restriction failure.
    287 ;;                          "ext/curl/tests/bug61948-unix.phpt"
    288 ;;                          ;; Expects a false boolean, gets empty array from glob().
    289 ;;                          "ext/standard/tests/file/bug41655_1.phpt"
    290 ;;                          "ext/standard/tests/file/glob_variation5.phpt"
    291 ;;                          ;; The test expects an Array, but instead get the contents(?).
    292 ;;                          "ext/gd/tests/bug43073.phpt"
    293 ;;                          ;; imagettftext() returns wrong coordinates.
    294 ;;                          "ext/gd/tests/bug48732-mb.phpt"
    295 ;;                          "ext/gd/tests/bug48732.phpt"
    296 ;;                          ;; Similarly for imageftbbox().
    297 ;;                          "ext/gd/tests/bug48801-mb.phpt"
    298 ;;                          "ext/gd/tests/bug48801.phpt"
    299 ;;                          ;; Different expected output from imagecolorallocate().
    300 ;;                          "ext/gd/tests/bug53504.phpt"
    301 ;;                          ;; Wrong image size after scaling an image.
    302 ;;                          "ext/gd/tests/bug73272.phpt"
    303 ;;                          ;; Expects iconv to detect illegal characters, instead gets
    304 ;;                          ;; "unknown error (84)" and heap corruption(!).
    305 ;;                          "ext/iconv/tests/bug48147.phpt"
    306 ;;                          ;; Expects illegal character ".", gets "=?utf-8?Q?."
    307 ;;                          "ext/iconv/tests/bug51250.phpt"
    308 ;;                          ;; iconv throws "buffer length exceeded" on some string checks.
    309 ;;                          "ext/iconv/tests/iconv_mime_encode.phpt"
    310 ;;                          ;; file_get_contents(): iconv stream filter
    311 ;;                          ;; ("ISO-8859-1"=>"UTF-8") unknown error.
    312 ;;                          "ext/standard/tests/file/bug43008.phpt"
    313 ;;                          ;; Table data not created in sqlite(?).
    314 ;;                          "ext/pdo_sqlite/tests/bug_42589.phpt"
    315 ;;                          ;; Expects an Array with 3 preg_matches; gets 0.
    316 ;;                          "ext/pcre/tests/bug79846.phpt"
    317 ;;                          ;; Expects an empty Array; gets one with " " in it.
    318 ;;                          "ext/pcre/tests/bug80118.phpt"
    319 ;;                          ;; Renicing a process fails in the build environment.
    320 ;;                          "ext/standard/tests/general_functions/proc_nice_basic.phpt"
    321 ;;                          ;; Can fail on fast machines?
    322 ;;                          "Zend/tests/bug74093.phpt"))
    323 
    324 ;;              ;; Accomodate two extra openssl errors flanking the expected one:
    325 ;;              ;; random number generator:RAND_{load,write}_file:Cannot open file
    326 ;;              ;; This is due to an invalid $HOME, but changing it in the test
    327 ;;              ;; still prints the first one & changing it globally is overkill.
    328 ;;              (substitute* "ext/openssl/tests/bug80747.phpt"
    329 ;;                ((".*error:%s:key size too small.*" match)
    330 ;;                 (string-append "%s\n" match "%s\n")))
    331 
    332 ;;              ;; Skip tests requiring network access.
    333 ;;              (setenv "SKIP_ONLINE_TESTS" "1")
    334 ;;              ;; Without this variable, 'make test' passes regardless of failures.
    335 ;;              (setenv "REPORT_EXIT_STATUS" "1")
    336 ;;              ;; Skip tests requiring I/O facilities that are unavailable in the
    337 ;;              ;; build environment
    338 ;;              (setenv "SKIP_IO_CAPTURE_TESTS" "1"))))
    339 ;;        #:test-target "test"))
    340 ;;     (inputs
    341 ;;      `(("aspell" ,aspell)
    342 ;;        ("bzip2" ,bzip2)
    343 ;;        ("curl" ,curl)
    344 ;;        ("cyrus-sasl" ,cyrus-sasl)
    345 ;;        ("gd" ,gd)
    346 ;;        ("gdbm" ,gdbm)
    347 ;;        ("gmp" ,gmp)
    348 ;;        ("gnutls" ,gnutls)
    349 ;;        ("icu4c" ,icu4c)
    350 ;;        ("libgcrypt" ,libgcrypt)
    351 ;;        ("libpng" ,libpng)
    352 ;;        ("libsodium" ,libsodium)
    353 ;;        ("libxml2" ,libxml2)
    354 ;;        ("libxslt" ,libxslt)
    355 ;;        ("libx11" ,libx11)
    356 ;;        ("libzip" ,libzip)
    357 ;;        ("oniguruma" ,oniguruma)
    358 ;;        ("openldap" ,openldap)
    359 ;;        ("openssl" ,openssl)
    360 ;;        ("pcre" ,pcre2)
    361 ;;        ("postgresql" ,postgresql)
    362 ;;        ("readline" ,readline)
    363 ;;        ("sqlite" ,sqlite)
    364 ;;        ("tidy" ,tidy)
    365 ;;        ("zlib" ,zlib)))
    366 ;;     (native-inputs
    367 ;;      `(("pkg-config" ,pkg-config)
    368 ;;        ("bison" ,bison)
    369 ;;        ("gettext" ,gettext-minimal)
    370 ;;        ("procps" ,procps)))             ; for tests
    371 ;;     (synopsis "PHP programming language")
    372 ;;     (description
    373 ;;       "PHP (PHP Hypertext Processor) is a server-side (CGI) scripting
    374 ;; language designed primarily for web development but is also used as
    375 ;; a general-purpose programming language.  PHP code may be embedded into
    376 ;; HTML code, or it can be used in combination with various web template
    377 ;; systems, web content management systems and web frameworks." )
    378 ;;     (license (list
    379 ;;               (license:non-copyleft "file://LICENSE")       ; The PHP license.
    380 ;;               (license:non-copyleft "file://Zend/LICENSE")  ; The Zend license.
    381 ;;               license:lgpl2.1                               ; ext/mbstring/libmbfl
    382 ;;               license:lgpl2.1+                              ; ext/bcmath/libbcmath
    383 ;;               license:bsd-2                                 ; ext/fileinfo/libmagic
    384 ;;               license:expat))))
     1/gnu/store/nf678d8jcd8kjz3vgf8l3zgmp7306qhx-home-dotfiles--guix-packages-php-scm
  • guix/.guix-packages/python.scm

    • Property mode changed from 100644 to 120000
    r7bfb563 r254aa1d  
    1 (define-module (python)
    2   #:use-module ((guix licenses) #:prefix license:)
    3   #:use-module (gnu packages)
    4   #:use-module (gnu packages base)
    5   #:use-module (gnu packages bash)
    6   #:use-module (gnu packages certs)
    7   #:use-module (gnu packages check)
    8   #:use-module (gnu packages compression)
    9   #:use-module (gnu packages dbm)
    10   #:use-module (gnu packages time)
    11   #:use-module (gnu packages databases)
    12   #:use-module (gnu packages hurd)
    13   #:use-module (gnu packages libffi)
    14   #:use-module (gnu packages ncurses)
    15   #:use-module (gnu packages pkg-config)
    16   #:use-module (gnu packages python-xyz)
    17   #:use-module (gnu packages python-web)
    18   #:use-module (gnu packages readline)
    19   #:use-module (gnu packages shells)
    20   #:use-module (gnu packages sqlite)
    21   #:use-module (gnu packages tcl)
    22   #:use-module (gnu packages tls)
    23   #:use-module (gnu packages xml)
    24   #:use-module (guix gexp)
    25   #:use-module (guix packages)
    26   #:use-module (guix download)
    27   #:use-module (guix utils)
    28   #:use-module (guix build-system gnu)
    29   #:use-module (guix build-system python)
    30   #:use-module (guix build-system trivial)
    31   #:use-module (srfi srfi-1)
    32   #:use-module (srfi srfi-26)
    33 
    34   #:export (customize-site
    35             guix-pythonpath-search-path))
    36 
    37 (define-public python-types-urllib3
    38   (package
    39     (name "python-types-urllib3")
    40     (version "1.26.11")
    41     (source
    42       (origin
    43         (method url-fetch)
    44         (uri (pypi-uri "types-urllib3" version))
    45         (sha256
    46           (base32 "0nri65gfihl4wcbi33wwcksmh5g3ibhjs0hxbyq1x1b82524xmi4"))))
    47     (build-system python-build-system)
    48     (home-page "https://github.com/python/typeshed")
    49     (synopsis "Typing stubs for urllib3")
    50     (description "Typing stubs for urllib3")
    51     (license #f)))
    52 
    53 (define-public python-types-requests
    54   (package
    55     (name "python-types-requests")
    56     (version "2.27.16")
    57     (source
    58       (origin
    59         (method url-fetch)
    60         (uri (pypi-uri "types-requests" version))
    61         (sha256
    62           (base32 "16zypz2csgw0c86ffmyn7mljbg1h4phxnlhl1fvfz9win8c0q0f8"))))
    63     (build-system python-build-system)
    64     (propagated-inputs (list python-types-urllib3))
    65     (home-page "https://github.com/python/typeshed")
    66     (synopsis "Typing stubs for requests")
    67     (description "Typing stubs for requests")
    68     (license #f)))
    69 
    70 (define-public python-types-pyyaml
    71   (package
    72     (name "python-types-pyyaml")
    73     (version "6.0.5")
    74     (source
    75       (origin
    76         (method url-fetch)
    77         (uri (pypi-uri "types-PyYAML" version))
    78         (sha256
    79           (base32 "0blavmg6f0xapjba1sh2rnvrdjx5dps1r3h3ihxdilgk2h4hakj6"))))
    80     (build-system python-build-system)
    81     (home-page "https://github.com/python/typeshed")
    82     (synopsis "Typing stubs for PyYAML")
    83     (description "Typing stubs for PyYAML")
    84     (license #f)))
    85 
    86 (define-public python-types-pytz
    87   (package
    88     (name "python-types-pytz")
    89     (version "2021.3.6")
    90     (source
    91       (origin
    92         (method url-fetch)
    93         (uri (pypi-uri "types-pytz" version))
    94         (sha256
    95           (base32 "14yr5hg2ww8s4a0mz2bkd549fv8qgm538fnzxvqv92ld1pcpym3l"))))
    96     (build-system python-build-system)
    97     (home-page "https://github.com/python/typeshed")
    98     (synopsis "Typing stubs for pytz")
    99     (description "Typing stubs for pytz")
    100     (license #f)))
    101 
    102 (define-public python-types-psycopg2
    103   (package
    104     (name "python-types-psycopg2")
    105     (version "2.9.9")
    106     (source
    107       (origin
    108         (method url-fetch)
    109         (uri (pypi-uri "types-psycopg2" version))
    110         (sha256
    111           (base32 "0bhaybs5rl864yw2w1qapbpihp4a798z3m2yzl0dqhxkxr94v7ag"))))
    112     (build-system python-build-system)
    113     (home-page "https://github.com/python/typeshed")
    114     (synopsis "Typing stubs for psycopg2")
    115     (description "Typing stubs for psycopg2")
    116     (license #f)))
    117 
    118 (define-public python-types-werkzeug
    119   (package
    120     (name "python-types-werkzeug")
    121     (version "1.0.9")
    122     (source
    123       (origin
    124         (method url-fetch)
    125         (uri (pypi-uri "types-Werkzeug" version))
    126         (sha256
    127           (base32 "132im9g3m7hv57g3zq30qj7qfpv5jxiyw354aba360a09ih6khjw"))))
    128     (build-system python-build-system)
    129     (home-page "https://github.com/python/typeshed")
    130     (synopsis "Typing stubs for Werkzeug")
    131     (description "Typing stubs for Werkzeug")
    132     (license #f)))
    133 
    134 (define-public python-types-markupsafe
    135   (package
    136     (name "python-types-markupsafe")
    137     (version "1.1.10")
    138     (source
    139       (origin
    140         (method url-fetch)
    141         (uri (pypi-uri "types-MarkupSafe" version))
    142         (sha256
    143           (base32 "1c8iczhgiyw7f92mhbq3j9038g0rj3sqwamclnisw0ixd1raicw5"))))
    144     (build-system python-build-system)
    145     (home-page "https://github.com/python/typeshed")
    146     (synopsis "Typing stubs for MarkupSafe")
    147     (description "Typing stubs for MarkupSafe")
    148     (license #f)))
    149 
    150 (define-public python-types-jinja2
    151   (package
    152     (name "python-types-jinja2")
    153     (version "2.11.9")
    154     (source
    155       (origin
    156         (method url-fetch)
    157         (uri (pypi-uri "types-Jinja2" version))
    158         (sha256
    159           (base32 "10cc9d6hikrv28sqn84lhi8qchpyy3l8jkby1d9fsyms1aj79p6v"))))
    160     (build-system python-build-system)
    161     (propagated-inputs (list python-types-markupsafe))
    162     (home-page "https://github.com/python/typeshed")
    163     (synopsis "Typing stubs for Jinja2")
    164     (description "Typing stubs for Jinja2")
    165     (license #f)))
    166 
    167 (define-public python-types-flask
    168   (package
    169     (name "python-types-flask")
    170     (version "1.1.6")
    171     (source
    172       (origin
    173         (method url-fetch)
    174         (uri (pypi-uri "types-Flask" version))
    175         (sha256
    176           (base32 "1kz9cdbirfxa79vvy777bdpfl8ygf60x1xh1ddp47ygzmfrpgixa"))))
    177     (build-system python-build-system)
    178     (propagated-inputs
    179       (list python-types-click python-types-jinja2 python-types-werkzeug))
    180     (home-page "https://github.com/python/typeshed")
    181     (synopsis "Typing stubs for Flask")
    182     (description "Typing stubs for Flask")
    183     (license #f)))
    184 
    185 (define-public python-types-click
    186   (package
    187     (name "python-types-click")
    188     (version "7.1.8")
    189     (source
    190       (origin
    191         (method url-fetch)
    192         (uri (pypi-uri "types-click" version))
    193         (sha256
    194           (base32 "14p0yjzxpw0jfkyhx16bl2kvla0ai9q51jhicd8xq0b4prl4jq5n"))))
    195     (build-system python-build-system)
    196     (home-page "https://github.com/python/typeshed")
    197     (synopsis "Typing stubs for click")
    198     (description "Typing stubs for click")
    199     (license #f)))
    200 
    201 (define-public python-systemd-python
    202   (package
    203     (name "python-systemd-python")
    204     (version "234")
    205     (source
    206       (origin
    207         (method url-fetch)
    208         (uri (pypi-uri "systemd-python" version))
    209         (sha256
    210           (base32 "1rw3vfakils7h0i93cyi5hvvdc5mgq5cp4n2mmdf9npaf2zl83px"))))
    211     (build-system python-build-system)
    212     (home-page "https://github.com/systemd/python-systemd")
    213     (synopsis "Python interface for libsystemd")
    214     (description "Python interface for libsystemd")
    215     (license #f)))
    216 
    217 (define-public python-gunicorn
    218   (package
    219     (name "python-gunicorn")
    220     (version "20.1.0")
    221     (source
    222       (origin
    223         (method url-fetch)
    224         (uri (pypi-uri "gunicorn" version))
    225         (sha256
    226           (base32 "1s7670qw36x90bgmazmgib170i5gnpyb2ypxzlla7y0mpasniag0"))))
    227     (build-system python-build-system)
    228     (arguments
    229      `(#:tests? #f))
    230     (propagated-inputs (list python-setuptools))
    231     (home-page "https://gunicorn.org")
    232     (synopsis "WSGI HTTP Server for UNIX")
    233     (description "WSGI HTTP Server for UNIX")
    234     (license license:expat)))
    235 
    236 (define-public python-aiohttp-utils
    237   (package
    238     (name "python-aiohttp-utils")
    239     (version "3.1.1")
    240     (source
    241       (origin
    242         (method url-fetch)
    243         (uri (pypi-uri "aiohttp_utils" version))
    244         (sha256
    245           (base32 "056w0aw3nnnhwzrn8rrsn7hbmxb5yd7iz8h4m4x1kzd32pfc9wh8"))))
    246     (build-system python-build-system)
    247     (arguments
    248      `(#:tests? #f))
    249     (propagated-inputs (list python-aiohttp python-gunicorn python-mimeparse))
    250     (home-page "https://github.com/sloria/aiohttp_utils")
    251     (synopsis "Handy utilities for aiohttp.web applications.")
    252     (description "Handy utilities for aiohttp.web applications.")
    253     (license license:expat)))
    254 
    255 (define-public python-mirakuru
    256   (package
    257     (name "python-mirakuru")
    258     (version "2.4.2")
    259     (source
    260       (origin
    261         (method url-fetch)
    262         (uri (pypi-uri "mirakuru" version))
    263         (sha256
    264           (base32 "09l2a2c2mh422j43q8n1l0vg14la34ynp32r1v5rdjjb3gcd917c"))))
    265     (build-system python-build-system)
    266     (propagated-inputs (list python-psutil))
    267     (native-inputs (list python-daemon python-pytest python-pytest-cov))
    268     (home-page "https://github.com/ClearcodeHQ/mirakuru")
    269     (synopsis "Process executor (not only) for tests.")
    270     (description "Process executor (not only) for tests.")
    271     (license #f)))
    272 
    273 (define-public python-pytest-postgresql
    274   (package
    275     (name "python-pytest-postgresql")
    276     (version "4.1.1")
    277     (source
    278       (origin
    279         (method url-fetch)
    280         (uri (pypi-uri "pytest-postgresql" version))
    281         (sha256
    282           (base32 "0p99j6wm36s0xz3zxi8qyir0ajnxpzcjb00f3z5xwh8603s6lk8l"))))
    283     (build-system python-build-system)
    284     (propagated-inputs
    285       (list python-mirakuru python-port-for python-pytest python-setuptools))
    286     (native-inputs (list python-pytest-cov python-pytest-xdist))
    287     (home-page "https://github.com/ClearcodeHQ/pytest-postgresql")
    288     (synopsis "Postgresql fixtures and fixture factories for Pytest.")
    289     (description "Postgresql fixtures and fixture factories for Pytest.")
    290     (license #f)))
    291 
    292 (define-public python-swh.core
    293   (package
    294     (name "python-swh.core")
    295     (version "2.4.0")
    296     (source
    297       (origin
    298         (method url-fetch)
    299         (uri (pypi-uri "swh.core" version))
    300         (sha256
    301           (base32 "17dyqq1z774xnbjak4ncdrbp6acnbrmks0636fw1rmqq728rzz68"))))
    302     (build-system python-build-system)
    303     (propagated-inputs
    304       (list python-click
    305             python-deprecated
    306             python-magic
    307             python-pyyaml
    308             python-sentry-sdk))
    309     (native-inputs
    310       (list python-aiohttp
    311             python-aiohttp-utils
    312             python-blinker
    313             python-flask
    314             python-hypothesis
    315             python-iso8601
    316             python-msgpack
    317             python-psycopg2
    318             python-pytest
    319             python-pytest-mock
    320             python-pytest-postgresql
    321             python-pytz
    322             python-requests
    323             python-requests-mock
    324             ;;python-systemd-python
    325             python-types-click
    326             python-types-flask
    327             python-types-psycopg2
    328             python-types-pytz
    329             python-types-pyyaml
    330             python-types-requests
    331             python-typing-extensions))
    332     (home-page "https://forge.softwareheritage.org/diffusion/DCORE/")
    333     (synopsis "Software Heritage core utilities")
    334     (description "Software Heritage core utilities")
    335     (license #f)))
    336 
     1/gnu/store/jafbqipm2a88dppzq6y9r2fhmpznb293-home-dotfiles--guix-packages-python-scm
  • wm/.ratpoisonrc

    r7bfb563 r254aa1d  
    88set framesels 1234567890abcdefg
    99
    10 set font "Courier:size=12"
     10set font "Courier:size=10"
     11set winliststyle column
    1112set bargravity n
    1213defborder 0
     
    1617# Commands to run-or-raise programs
    1718alias icecat exec ratpoison -c "select icecat" || exec icecat
    18 alias nyxt exec ratpoison -c "select nyxt" || exec nyxt
     19alias palemoon exec ratpoison -c "select Pale moon" || sh ~/Software/palemoon/palemoon-guix.sh
    1920alias workrave exec ratpoison -c "select workrave" || exec workrave
    2021alias emacs exec ratpoison -c "select emacs" || exec emacs
     
    3031
    3132# Run or raise Nyxt
    32 bind B nyxt
     33bind B palemoon
    3334
    3435# Run or raise Icecat
     
    5152definekey top XF86AudioLowerVolume exec amixer -q sset Master 3%-
    5253definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
    53 
    54 #exec wmname LG3D
Note: See TracChangeset for help on using the changeset viewer.