gnu: mumi: Update to 0.0.3-1.350b2df.
* gnu/packages/mail.scm (mumi): Update to 0.0.3-1.350b2df. [arguments]: Use gexp; add phase 'install-picocss. [native-inputs]: Add sassc and picocss sources.
parent
25f702449c
commit
b0943d3d2e
|
@ -4026,11 +4026,11 @@ It is a replacement for the @command{urlview} program.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public mumi
|
(define-public mumi
|
||||||
(let ((commit "4590e4822dda792f59f69b764824aa148d92dad0")
|
(let ((commit "350b2dfbe22bea82ca2d5739d5aebbf9277fe7b7")
|
||||||
(revision "2"))
|
(revision "1"))
|
||||||
(package
|
(package
|
||||||
(name "mumi")
|
(name "mumi")
|
||||||
(version (git-version "0.0.2" revision commit))
|
(version (git-version "0.0.3" revision commit))
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -4039,27 +4039,32 @@ It is a replacement for the @command{urlview} program.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"16brl1dk92kppzvxx8q5hcqiywg863s4sz5wb64hz8a37xa4hkyr"))))
|
"1i728cf5shsh0rcv38z244855s2jhifj91prq7c2zk99fsiadw50"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build gnu-build-system)
|
(list
|
||||||
|
#:modules '((guix build gnu-build-system)
|
||||||
((guix build guile-build-system)
|
((guix build guile-build-system)
|
||||||
#:select (target-guile-effective-version))
|
#:select (target-guile-effective-version))
|
||||||
(guix build utils))
|
(guix build utils))
|
||||||
#:imported-modules ((guix build guile-build-system)
|
#:imported-modules `((guix build guile-build-system)
|
||||||
,@%gnu-build-system-modules)
|
,@%gnu-build-system-modules)
|
||||||
|
|
||||||
#:configure-flags '("--localstatedir=/var")
|
#:configure-flags '(list "--localstatedir=/var")
|
||||||
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'install-picocss
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((pico (dirname (search-input-file inputs "/scss/pico.scss"))))
|
||||||
|
(mkdir-p "assets/pico/scss")
|
||||||
|
(copy-recursively pico "assets/pico/scss"))))
|
||||||
(add-after 'install 'wrap-executable
|
(add-after 'install 'wrap-executable
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((bin (string-append #$output "/bin"))
|
||||||
(bin (string-append out "/bin"))
|
|
||||||
(version (target-guile-effective-version))
|
(version (target-guile-effective-version))
|
||||||
(scm (string-append out "/share/guile/site/" version))
|
(scm (string-append #$output "/share/guile/site/" version))
|
||||||
(go (string-append out "/lib/guile/" version
|
(go (string-append #$output "/lib/guile/" version
|
||||||
"/site-ccache")))
|
"/site-ccache")))
|
||||||
(wrap-program (string-append bin "/mumi")
|
(wrap-program (string-append bin "/mumi")
|
||||||
`("GUILE_LOAD_PATH" ":" prefix
|
`("GUILE_LOAD_PATH" ":" prefix
|
||||||
|
@ -4079,7 +4084,16 @@ It is a replacement for the @command{urlview} program.")
|
||||||
guile-3.0
|
guile-3.0
|
||||||
mailutils))
|
mailutils))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf automake pkg-config))
|
(list autoconf automake pkg-config sassc
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/picocss/pico.git")
|
||||||
|
(commit "3052db4bd3439e236479dc0f98069f7d3b559486")))
|
||||||
|
(file-name (git-file-name "pico" "1.5.6"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1gs1li48hqizx7lc4n2fdxn9i2v4vafkqpza7svvfpcamfz29jpi")))))
|
||||||
(home-page "https://git.elephly.net/software/mumi.git")
|
(home-page "https://git.elephly.net/software/mumi.git")
|
||||||
(synopsis "Debbugs web interface")
|
(synopsis "Debbugs web interface")
|
||||||
(description "Mumi is a Debbugs web interface.")
|
(description "Mumi is a Debbugs web interface.")
|
||||||
|
|
Reference in New Issue