Subject: bug#25973: [PATCH]: gnu: Add blind.

From: ng0 <[email-masked]>
Date: Sun, 5 Mar 2017 16:21:12 +0000

On 17-03-05 19:20:34, 宋文武 wrote:
> From 7e747dab9c06aa862636423008148f1f08a90f1a Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <[email-masked]>
> Date: Sun, 5 Mar 2017 19:08:25 +0800
> Subject: [PATCH] gnu: Add blind.
> 
> * gnu/packages/suckless.scm (blind): New package.
> ---
>  gnu/packages/suckless.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
> index e30a0883a..58b2bd0f6 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")
> -- 
> 2.11.1
> 
> 
> 
> 
Looks good to me.

Do you think we could have a suckless and 2f30 url-scheme now?
There's just so much repetition with those two domains going on because
most software is so similar it could simply inherit from one base
recipe.

I'm using a 2f30-uri in my "package" repository which held lots of
2f30.org and suckless.org software until recently.