|
@@ -3,13 +3,17 @@
|
|
|
#:use-module (guix download)
|
|
|
#:use-module (guix git-download)
|
|
|
#:use-module (guix utils)
|
|
|
+ #:use-module (guix gexp)
|
|
|
#:use-module (guix build-system gnu)
|
|
|
#:use-module (guix build-system cmake)
|
|
|
#:use-module (guix build-system haskell)
|
|
|
#:use-module (guix build-system trivial)
|
|
|
+ #:use-module (guix build-system python)
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
+ #:use-module (gnu packages)
|
|
|
#:use-module (gnu packages base)
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
+ #:use-module (gnu packages readline)
|
|
|
#:use-module (gnu packages aspell)
|
|
|
#:use-module (gnu packages tor)
|
|
|
#:use-module (gnu packages image)
|
|
@@ -25,6 +29,7 @@
|
|
|
#:use-module (gnu packages protobuf)
|
|
|
#:use-module (gnu packages maths)
|
|
|
#:use-module (gnu packages web)
|
|
|
+ #:use-module (gnu packages web-browsers)
|
|
|
#:use-module (gnu packages python)
|
|
|
#:use-module (gnu packages databases)
|
|
|
#:use-module (gnu packages logging)
|
|
@@ -32,9 +37,22 @@
|
|
|
#:use-module (gnu packages gnuzilla)
|
|
|
#:use-module (gnu packages boost)
|
|
|
#:use-module (gnu packages crypto)
|
|
|
+ #:use-module (gnu packages pciutils)
|
|
|
+ #:use-module (gnu packages xorg)
|
|
|
#:use-module (gnu packages guile)
|
|
|
+ #:use-module (gnu packages fontutils)
|
|
|
+ #:use-module (gnu packages documentation)
|
|
|
+ #:use-module (gnu packages qt)
|
|
|
+ #:use-module (gnu packages python)
|
|
|
+ #:use-module (gnu packages xiph)
|
|
|
+ #:use-module (gnu packages upnp)
|
|
|
+ #:use-module (gnu packages audio)
|
|
|
+ #:use-module (gnu packages python-web)
|
|
|
#:use-module (gnu packages php)
|
|
|
+ #:use-module (gnu packages assembly)
|
|
|
#:use-module (gnu packages networking)
|
|
|
+ #:use-module (gnu packages wm)
|
|
|
+ #:use-module (gnu packages gl)
|
|
|
#:use-module (gnu packages glib))
|
|
|
|
|
|
(define-public httpd-ton
|
|
@@ -178,7 +196,7 @@
|
|
|
(base32
|
|
|
"11wi17bh2br1hp8gmq40b1hm5drm6h969505f7432zam3cm8mc8q"))))
|
|
|
(build-system gnu-build-system)
|
|
|
- (inputs `(("libpci" ,libpci)
|
|
|
+ (inputs `(("libpciaccess" ,libpciaccess)
|
|
|
;; libconfuse - libasound - libaudiofile - eject - zlib
|
|
|
("glibc" ,glibc)))
|
|
|
(synopsis "TODO")
|
|
@@ -346,3 +364,257 @@
|
|
|
(description "")
|
|
|
(home-page "")
|
|
|
(license license:mpl2.0)))
|
|
|
+
|
|
|
+(define-public p7zip-nonfree
|
|
|
+ (package
|
|
|
+ (name "p7zip-t")
|
|
|
+ (version "16.02")
|
|
|
+ (source (origin
|
|
|
+ (method url-fetch)
|
|
|
+ (uri (string-append "mirror://sourceforge/p7zip/p7zip/"
|
|
|
+ version "/p7zip_" version
|
|
|
+ "_src_all.tar.bz2"))
|
|
|
+ (sha256
|
|
|
+ (base32
|
|
|
+ "07rlwbbgszq8i7m8jh3x6j2w2hc9a72dc7fmqawnqkwlwb00mcjy"))
|
|
|
+ (modules '((guix build utils)))
|
|
|
+ ))
|
|
|
+ (build-system gnu-build-system)
|
|
|
+ (arguments
|
|
|
+ `(#:make-flags
|
|
|
+ (list (string-append "DEST_HOME=" (assoc-ref %outputs "out")) "all3")
|
|
|
+ #:phases
|
|
|
+ (modify-phases %standard-phases
|
|
|
+ (replace 'configure
|
|
|
+ (lambda* (#:key system outputs #:allow-other-keys)
|
|
|
+ (invoke "cp"
|
|
|
+ (let ((system ,(or (%current-target-system)
|
|
|
+ (%current-system))))
|
|
|
+ (cond
|
|
|
+ ((string-prefix? "x86_64" system)
|
|
|
+ "makefile.linux_amd64_asm")
|
|
|
+ ((string-prefix? "i686" system)
|
|
|
+ "makefile.linux_x86_asm_gcc_4.X")
|
|
|
+ (else
|
|
|
+ "makefile.linux_any_cpu_gcc_4.X")))
|
|
|
+ "makefile.machine")))
|
|
|
+ (replace 'check
|
|
|
+ (lambda _
|
|
|
+ (invoke "make" "test")
|
|
|
+ (invoke "make" "test_7z")
|
|
|
+ (invoke "make" "test_7zr"))))))
|
|
|
+ (inputs
|
|
|
+ (let ((system (or (%current-target-system)
|
|
|
+ (%current-system))))
|
|
|
+ `(,@(cond ((string-prefix? "x86_64" system)
|
|
|
+ `(("yasm" ,yasm)))
|
|
|
+ ((string-prefix? "i686" system)
|
|
|
+ `(("nasm" ,nasm)))
|
|
|
+ (else '())))))
|
|
|
+ (home-page "http://p7zip.sourceforge.net/")
|
|
|
+ (synopsis "Command-line file archiver with high compression ratio")
|
|
|
+ (description "p7zip is a command-line port of 7-Zip, a file archiver that
|
|
|
+handles the 7z format which features very high compression ratios.")
|
|
|
+ (license (list license:lgpl2.1+
|
|
|
+ license:gpl2+
|
|
|
+ license:public-domain))))
|
|
|
+
|
|
|
+(define-public i3-battery-warning
|
|
|
+ (package
|
|
|
+ (name "i3-battery-warning")
|
|
|
+ (version "0.1")
|
|
|
+ (source (local-file "/home/ton/guixsd/modules/i3-battery-warning.scm"))
|
|
|
+ (build-system trivial-build-system)
|
|
|
+ (propagated-inputs `(("guile" ,guile)))
|
|
|
+ (arguments
|
|
|
+ `(#:modules ((guix build utils))
|
|
|
+ #:builder
|
|
|
+ (begin
|
|
|
+ (use-modules (guix build utils))
|
|
|
+ (let ((out (assoc-ref %outputs "out"))
|
|
|
+ (mkdir out))
|
|
|
+ (copy-tree %build-inputs out)
|
|
|
+ ))))
|
|
|
+ (synopsis "Notifications for low battery")
|
|
|
+ (description "Checks battery levels and shows a warning if it is low.")
|
|
|
+ (home-page "")
|
|
|
+ (license license:gpl3+)))
|
|
|
+
|
|
|
+(define-public qtwebengine
|
|
|
+ (package
|
|
|
+ (name "qtwebengine")
|
|
|
+ (version "5.12.0-beta2")
|
|
|
+ (source
|
|
|
+ (origin
|
|
|
+ (method url-fetch)
|
|
|
+ (uri (string-append "https://github.com/qt/archive/v"
|
|
|
+ version ".tar.gz"))
|
|
|
+ (sha256
|
|
|
+ (base32
|
|
|
+ "1316wcsa2vg9dsbxj0ik0b2bd1h2lbjl243kv0bjxlhjwqbk6llr"))))
|
|
|
+ (build-system cmake-build-system)
|
|
|
+
|
|
|
+ (native-inputs
|
|
|
+ `(
|
|
|
+ ;("perl" ,perl)
|
|
|
+ ("python" ,python)
|
|
|
+ ;("ruby" ,ruby)
|
|
|
+ ;("bison" ,bison)
|
|
|
+ ;("flex" ,flex)
|
|
|
+ ;("gperf" ,gperf)
|
|
|
+ ("pkg-config" ,pkg-config)))
|
|
|
+ (inputs
|
|
|
+ `(
|
|
|
+ ;("icu" ,icu4c)
|
|
|
+ ;("glib" ,glib)
|
|
|
+ ;("gst-plugins-base" ,gst-plugins-base)
|
|
|
+ ;("libjpeg" ,libjpeg)
|
|
|
+ ;("libpng" ,libpng)
|
|
|
+ ;("libwebp" ,libwebp)
|
|
|
+ ;("sqlite" ,sqlite)
|
|
|
+ ;("fontconfig" ,fontconfig)
|
|
|
+ ;("libxrender" ,libxrender)
|
|
|
+ ("qtbase" ,qtbase)
|
|
|
+ ("qttools" ,qttools)
|
|
|
+ ;("qtdeclarative" ,qtdeclarative)
|
|
|
+ ;("qtlocation" ,qtlocation)
|
|
|
+ ;("qtmultimedia" ,qtmultimedia)
|
|
|
+ ;("qtsensors" ,qtsensors)
|
|
|
+ ;("qtwebchannel" ,qtwebchannel)
|
|
|
+ ;("libxml2" ,libxml2)
|
|
|
+ ;("libxslt" ,libxslt)
|
|
|
+ ;("libx11" ,libx11)
|
|
|
+ ;("libxcomposite" ,libxcomposite)
|
|
|
+ ))
|
|
|
+
|
|
|
+ (arguments
|
|
|
+ '(#:tests? #f
|
|
|
+ #:phases
|
|
|
+ (modify-phases %standard-phases
|
|
|
+ (replace 'configure
|
|
|
+ ;; Use lrelease to convert TS translation files into QM files.
|
|
|
+ (lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
+ (invoke "qmake"
|
|
|
+ (string-append "PREFIX="
|
|
|
+ (assoc-ref outputs "out"))))))))
|
|
|
+
|
|
|
+ (home-page "")
|
|
|
+ (synopsis "")
|
|
|
+ (description "")
|
|
|
+ (license license:lgpl2.1+)))
|
|
|
+
|
|
|
+(define-public qutebrowser-1.5.1
|
|
|
+ (package
|
|
|
+ ;(inherit qutebrowser)
|
|
|
+ (name "qutebrowser")
|
|
|
+ (version "1.5.1")
|
|
|
+ (source (origin
|
|
|
+ (method url-fetch)
|
|
|
+ (uri (string-append "https://github.com/" name "/" name
|
|
|
+ "archive/v" version ".tar.gz"))
|
|
|
+ (sha256
|
|
|
+ (base32
|
|
|
+ "16q3dd9cffqlmh6c304jn3j8j7zdkwirmysjpaaxdqbg73rqxrjm"))))
|
|
|
+
|
|
|
+ (build-system python-build-system)
|
|
|
+ (native-inputs
|
|
|
+ `(("asciidoc" ,asciidoc)))
|
|
|
+ (inputs
|
|
|
+ `(("python-colorama" ,python-colorama)
|
|
|
+ ("python-cssutils" ,python-cssutils)
|
|
|
+ ("python-jinja2" ,python-jinja2)
|
|
|
+ ("python-markupsafe" ,python-markupsafe)
|
|
|
+ ("python-pygments" ,python-pygments)
|
|
|
+ ("python-pypeg2" ,python-pypeg2)
|
|
|
+ ("python-pyyaml" ,python-pyyaml)
|
|
|
+ ("python-attrs" ,python-attrs)
|
|
|
+ ("python-pyqt" ,python-pyqt)))
|
|
|
+ (propagated-inputs
|
|
|
+ `(("qtwebengine" ,qtwebengine)))
|
|
|
+
|
|
|
+ (arguments
|
|
|
+ `(#:tests? #f
|
|
|
+ #:phases
|
|
|
+ (modify-phases %standard-phases
|
|
|
+ (add-after 'install 'install-more
|
|
|
+ (lambda* (#:key outputs #:allow-other-keys)
|
|
|
+ (let* ((out (assoc-ref outputs "out"))
|
|
|
+ (app (string-append out "/share/applications"))
|
|
|
+ (hicolor (string-append out "/share/icons/hicolor")))
|
|
|
+ (invoke "a2x" "-f" "manpage" "doc/qutebrowser.1.asciidoc")
|
|
|
+ (install-file "doc/qutebrowser.1"
|
|
|
+ (string-append out "/share/man/man1"))
|
|
|
+
|
|
|
+ (for-each
|
|
|
+ (lambda (i)
|
|
|
+ (let ((src (format #f "icons/qutebrowser-~dx~d.png" i i))
|
|
|
+ (dest (format #f "~a/~dx~d/apps/qutebrowser.png"
|
|
|
+ hicolor i i)))
|
|
|
+ (mkdir-p (dirname dest))
|
|
|
+ (copy-file src dest)))
|
|
|
+ '(16 24 32 48 64 128 256 512))
|
|
|
+ (install-file "icons/qutebrowser.svg"
|
|
|
+ (string-append hicolor "/scalable/apps"))
|
|
|
+
|
|
|
+ #t))))))
|
|
|
+
|
|
|
+ (home-page "https://qutebrowser.org/")
|
|
|
+ (synopsis "Minimal, keyboard-focused, vim-like web browser")
|
|
|
+ (description "qutebrowser is a keyboard-focused browser with a minimal
|
|
|
+GUI. It is based on PyQt5 and QtWebKit.")
|
|
|
+ (license license:gpl3+)))
|
|
|
+
|
|
|
+
|
|
|
+(define-public openclonk
|
|
|
+ (package
|
|
|
+ (name "openclonk")
|
|
|
+ (version "8.1")
|
|
|
+ (source (origin
|
|
|
+ (method url-fetch)
|
|
|
+ (uri (string-append "https://github.com/" name "/" name
|
|
|
+ "archive/v" version ".tar.gz"))
|
|
|
+ (sha256
|
|
|
+ (base32
|
|
|
+ "01h559yy0409f1m9frz2an9fphmqg0nc8c499bvsvj9l6d3wv87y"))))
|
|
|
+
|
|
|
+ (build-system cmake-build-system)
|
|
|
+ (native-inputs
|
|
|
+ `(("python" ,python)
|
|
|
+ ("pkg-config" ,pkg-config)))
|
|
|
+ (inputs
|
|
|
+ `(("zlib" ,zlib)
|
|
|
+ ("libpng" ,libpng)
|
|
|
+ ("glew" ,glew)
|
|
|
+ ("libvorbis" ,libvorbis)
|
|
|
+ ("qtbase" ,qtbase) ;qt-base?
|
|
|
+ ("sdl2" ,sdl2)
|
|
|
+ ("mesa" ,mesa)
|
|
|
+ ("libxrandr" ,libxrandr)
|
|
|
+ ("miniupnpc" ,miniupnpc)
|
|
|
+ ("openal" ,openal)
|
|
|
+ ("libogg" ,libogg)
|
|
|
+ ("freealut" ,freealut)
|
|
|
+ ("freetype" ,freetype)
|
|
|
+ ("tinyxml" ,tinyxml)
|
|
|
+ ("readline" ,readline)
|
|
|
+ ("libjpeg-turbo" ,libjpeg-turbo)))
|
|
|
+ (propagated-inputs
|
|
|
+ `(("mesa-headers" ,mesa-headers)))
|
|
|
+
|
|
|
+ (arguments
|
|
|
+ `(#:configure-flags
|
|
|
+ (list
|
|
|
+ "-DCMAKE_THREAD_PREFER_PTHREAD=TRUE"
|
|
|
+; (string-append "-DCMAKE_AR="
|
|
|
+; (assoc-ref %build-inputs "binutils")
|
|
|
+; "/bin/gcc-ar")
|
|
|
+; (string-append "-DCMAKE_RANLIB="
|
|
|
+; (assoc-ref %build-inputs "binutils")
|
|
|
+; "/bin/gcc-ranlib")
|
|
|
+ )))
|
|
|
+
|
|
|
+ (home-page "")
|
|
|
+ (synopsis "")
|
|
|
+ (description "")
|
|
|
+ (license license:isc)))
|
|
|
+
|