Add meowy-webring guix file
This commit is contained in:
parent
d5b719a909
commit
6bc2801044
2 changed files with 38 additions and 0 deletions
37
.guix/modules/meowy-webring.scm
Normal file
37
.guix/modules/meowy-webring.scm
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
(load "rust.scm")
|
||||||
|
(load "crates-io.scm")
|
||||||
|
(define-module (meowy-webring)
|
||||||
|
#:use-module (crates-io)
|
||||||
|
#:use-module (guix)
|
||||||
|
#:use-module (guix build-system cargo)
|
||||||
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
#:use-module (gnu packages)
|
||||||
|
#:use-module (gnu packages crates-io)
|
||||||
|
#:use-module (rust)
|
||||||
|
#:use-module (srfi srfi-1))
|
||||||
|
|
||||||
|
(define (keep-file? file stat)
|
||||||
|
(not (any (lambda (my-string)
|
||||||
|
(string-contains file my-string))
|
||||||
|
(list ".git" ".dir-locals.el" "guix.scm" ".guix"))))
|
||||||
|
|
||||||
|
(define-public meowy-webring
|
||||||
|
(package
|
||||||
|
(name "meowy-webring")
|
||||||
|
(version "0.1.0-git")
|
||||||
|
(source (local-file "../.." "meowy-webring-checkout"
|
||||||
|
#:recursive? #t
|
||||||
|
#:select? keep-file?))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments (list #:rust backported-rust))
|
||||||
|
(native-inputs
|
||||||
|
(list rust-async-stream-3.5
|
||||||
|
rust-rocket-0.5
|
||||||
|
rust-askama-0.11
|
||||||
|
rust-serde-1))
|
||||||
|
(synopsis "")
|
||||||
|
(description "")
|
||||||
|
(home-page "")
|
||||||
|
(license license:cc0)))
|
||||||
|
|
||||||
|
meowy-webring
|
1
guix.scm
Symbolic link
1
guix.scm
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
.guix/modules/meowy-webring.scm
|
Loading…
Reference in a new issue