diff options
Diffstat (limited to 'gnu/packages/suckless.scm')
-rw-r--r-- | gnu/packages/suckless.scm | 42 |
1 files changed, 39 insertions, 3 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index e30a0883a3..ca4cbec91f 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -47,6 +47,33 @@ #:use-module (gnu packages base) #:use-module (gnu packages libbsd)) +(define-public blind + (package + (name "blind") + (version "1.0") + (source (origin + (method url-fetch) + (uri (string-append "http://dl.suckless.org/tools/blind-" + version ".tar.gz")) + (sha256 + (base32 + "1b36k8fg2gmabm69jckqja49i8y4rcbccgvv2wija15ciszrm1x9")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; no check target + #:make-flags (list + "CC=gcc" + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; no configure script + (synopsis "Command line video editing utilities") + (home-page "http://tools.suckless.org/blind/") + (description + "Blind is a collection of command line video editing utilities. It uses +a custom raw video format with a simple container.") + (license license:isc))) + (define-public dwm (package (name "dwm") @@ -255,11 +282,20 @@ drawing.") (string-append "PREFIX=" %output)) #:phases (modify-phases %standard-phases - (delete 'configure)))) + (delete 'configure) + ;; Use the right file name for dmenu and xprop. + (add-before 'build 'set-dmenu-and-xprop-file-name + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "config.def.h" + (("dmenu") (string-append (assoc-ref inputs "dmenu") "/bin/dmenu")) + (("xprop") (string-append (assoc-ref inputs "xprop") "/bin/xprop"))) + #t))))) (inputs - `(("glib-networking" ,glib-networking) + `(("dmenu" ,dmenu) + ("glib-networking" ,glib-networking) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) - ("webkitgtk" ,webkitgtk/gtk+-2))) + ("webkitgtk" ,webkitgtk/gtk+-2) + ("xprop" ,xprop))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "http://surf.suckless.org/") |