guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66801] [PATCH v3 07/15] gnu: Add elixir-file-system.


From: Liliana Marie Prikler
Subject: [bug#66801] [PATCH v3 07/15] gnu: Add elixir-file-system.
Date: Fri, 08 Dec 2023 16:33:12 +0100
User-agent: Evolution 3.46.4

Am Freitag, dem 08.12.2023 um 16:03 +0100 schrieb Pierre-Henry
Fröhring:
> From: Pierre-Henry Fröhring <phfrohring@deeplinks.com>
> 
> * gnu/packages/elixir-xyz.scm (elixir-file-system): New variable.
> 
> Change-Id: I54e9c9069ddf150bb0c882775b0b2c9d5e59abd6
> ---
>  gnu/packages/elixir-xyz.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-
> xyz.scm
> index 544a414b4..bed84e9f2 100644
> --- a/gnu/packages/elixir-xyz.scm
> +++ b/gnu/packages/elixir-xyz.scm
> @@ -98,6 +98,33 @@ (define-public elixir-jason
>      (home-page "https://hexdocs.pm/jason/";)
>      (license license:asl2.0)))
>  
> +(define-public elixir-file-system
> +  (package
> +    (name "elixir-file-system")
> +    (version "0.2.10")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (hexpm-uri name version))
> +       (sha256
> +        (base32
> "1p0myxmnjjds8bbg69dd6fvhk8q3n7lb78zd4qvmjajnzgdmw6a1"))))
> +    (build-system mix-build-system)
> +    (propagated-inputs (list inotify-tools))
By convention, arguments follow build-system, only thereafter come
inputs.
> +    (arguments
> +     (list
> +      #:tests? #f ;There is no test/ in the source.
> +      #:phases #~(modify-phases %standard-phases
> +                   (add-after 'unpack 'rm-priv
> +                     (lambda _
> +                       ;; This directory represents source code not
> needed on UNIX systems.
> +                       ;; Since we aim at UNIX systems, it is
> deleted.
> +                       (delete-file-recursively "priv"))))))
Is this bundled or non-free source?  If so, delete it in a snippet.
> +    (synopsis "File system change watcher")
> +    (description "Provides a file system change watcher wrapper
> based on
> +[fs](https://github.com/synrc/fs).")
> +    (home-page "https://hexdocs.pm/file_system/";)
> +    (license license:wtfpl2)))
> +
Cheers

reply via email to

[Prev in Thread] Current Thread [Next in Thread]