adding pkgs in guix and the linux-run script

This commit is contained in:
Chris Cochrun 2023-06-29 09:31:56 -05:00
parent 6b8528702c
commit 8f36371452
4 changed files with 133 additions and 39 deletions

39
guix/pkgs/emacs-xyz.scm Normal file
View file

@ -0,0 +1,39 @@
(define-module (pkgs emacs-xyz)
#:use-module (gnu packages)
#:use-module (gnu packages vim)
#:use-module (gnu packages rust-apps)
#:use-module (gnu packages video)
#:use-module (gnu packages gnupg)
#:use-module (gnu services)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system emacs)
#:use-module ((guix licenses) #:prefix license:))
(define-public emacs-dired-rsync
(let ((commit "c4f484bff94ed2ddfe0fa45f1e695a1637e1a35a")
(revision "0"))
(package
(name "emacs-dired-rsync")
(version (git-version "0.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/stsquad/dired-rsync.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0000000000000000000000000000000000000000000000000000"))))
(build-system emacs-build-system)
(arguments (list #:emacs emacs-next-pgtk))
(license license:gpl3+)
(home-page "https://github.com/stsquad/dired-rsync.git")
(synopsis "dired-rsync asynchronous rsync from dired")
(description "\
This package adds the command dired-rsync which allows the user to copy
marked files in a dired buffer via rsync."))))

View file

@ -0,0 +1,81 @@
(define-module (pkgs tridactyl-native)
#:use-module (gnu packages)
#:use-module (gnu packages nim)
#:use-module (gnu services)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:))
(define-public nim-tempfile
(let ((commit "96fe74e69838c99641e4f7138c987d5f346c26f1")
(revision "0"))
(package
(name "nim-tempfile")
(version (git-version "0.1.7" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/OpenSystemsLab/tempfile.nim.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"19w6vv95fm625q6257ibjhvwsdzzjb15qg73k4hcziqhca1f1fm7"))))
(build-system gnu-build-system)
(arguments `(#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'build
(lambda* (#:key outputs #:allow-other-keys)
(invoke "nimble" "build"))))))
(inputs (list nim))
(license license:expat)
(home-page "https://github.com/tridactyl/native_messenger.git")
(synopsis "This small application allows Tridactyl to communicate with your system")
(description "\
This small application allows Tridactyl to communicate with your system, allowing Tridactyl to:
- read files on your computer, including RC configuration files
- write files to your computer
- launch applications, including opening about:* tabs in Firefox
- and generally do arbitrary stuff in userspace."))))
(define-public tridactyl-native
(let ((commit "62f19dba573b924703829847feb1bfee68885514")
(revision "0"))
(package
(name "tridactyl-native")
(version (git-version "0.3.7" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tridactyl/native_messenger.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"015x6yx0f4s2digmkay6dbv8hfy5p6rhcy16108xf8swy5qxaq30"))))
(build-system gnu-build-system)
(arguments `(#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'build
(lambda* (#:key outputs #:allow-other-keys)
(setenv "XDG_CACHE_HOME" "./cache-home")
(setenv "HOME" "./cache-home")
(mkdir-p "./cache-home")
(invoke "nimble" "build"))))))
(inputs (list nim nim-tempfile))
(license license:bsd-2)
(home-page "https://github.com/tridactyl/native_messenger.git")
(synopsis "This small application allows Tridactyl to communicate with your system")
(description "\
This small application allows Tridactyl to communicate with your system, allowing Tridactyl to:
- read files on your computer, including RC configuration files
- write files to your computer
- launch applications, including opening about:* tabs in Firefox
- and generally do arbitrary stuff in userspace."))))