.
This commit is contained in:
parent
9d39d47bdd
commit
44fb8bb908
2 changed files with 68 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
version "/chicken-" version ".tar.gz"))
|
version "/chicken-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1yl0hxm9cirgcp8jgxp6vv29lpswfvaw3zfkh6rsj0vkrv44k4c1"))))
|
"0xhdvcdwlv9vbhxh7k0fzd32ybhc7fn83y9fj48dhzp1z7c9kbf3"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build gnu-build-system)
|
`(#:modules ((guix build gnu-build-system)
|
||||||
|
|
67
gnu/packages/nwg-displays.scm
Normal file
67
gnu/packages/nwg-displays.scm
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
(define-module (gnu packages nwg-displays)
|
||||||
|
#:use-module (guix)
|
||||||
|
#:use-module (guix packages)
|
||||||
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix gexp)
|
||||||
|
#:use-module (guix build-system python)
|
||||||
|
#:use-module (guix git-download)
|
||||||
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
#:use-module (gnu packages)
|
||||||
|
#:use-module (gnu packages gtk)
|
||||||
|
#:use-module (gnu packages glib)
|
||||||
|
#:use-module (gnu packages gstreamer)
|
||||||
|
#:use-module (gnu packages python)
|
||||||
|
#:use-module (gnu packages python-build)
|
||||||
|
#:use-module (gnu packages python-xyz)
|
||||||
|
#:use-module (gnu packages wm))
|
||||||
|
|
||||||
|
(define-public nwg-displays
|
||||||
|
(package
|
||||||
|
(name "nwg-displays")
|
||||||
|
(version "0.3.9")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/nwg-piotr/nwg-displays.git")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(sha256 (base32 "0khcdmvdz98cac794znsc7yjwd4w1p9y82nbrl2a8jwp1712a557"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
#~(begin
|
||||||
|
(substitute* "nwg_displays/main.py"
|
||||||
|
(("'Gtk', '3.0'") "'Gtk', '4.8.1'"))
|
||||||
|
(substitute* "nwg_displays/tools.py"
|
||||||
|
(("'Gdk', '3.0'") "'Gdk', '4.8.1'"))))))
|
||||||
|
(native-inputs
|
||||||
|
(list gobject-introspection
|
||||||
|
python-setuptools
|
||||||
|
python-wrapper
|
||||||
|
python-wheel))
|
||||||
|
(inputs
|
||||||
|
(list gtk
|
||||||
|
gtk+
|
||||||
|
gtk-layer-shell))
|
||||||
|
(propagated-inputs
|
||||||
|
(list atk
|
||||||
|
gdk-pixbuf
|
||||||
|
gtk-layer-shell
|
||||||
|
pango
|
||||||
|
python-i3ipc
|
||||||
|
python-gst
|
||||||
|
python-pygobject
|
||||||
|
wlr-randr))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:tests? #f
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(delete 'sanity-check))))
|
||||||
|
(home-page "https://github.com/nwg-piotr/nwg-displays")
|
||||||
|
(synopsis "Output management utility for sway and Hyprland.")
|
||||||
|
(description "Output management utility for sway Wayland compositor, inspired by wdisplays and wlay.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
|
;; This allows you to run guix shell -f example.scm.
|
||||||
|
;; Remove this line if you just want to define a package.
|
||||||
|
;;nwg-displays
|
Loading…
Reference in a new issue