Add meowy-webring guix file

This commit is contained in:
TakeV 2023-08-20 20:56:08 -07:00
parent d5b719a909
commit 6bc2801044
Signed by: TakeV
GPG key ID: A64F41345C7400AF
2 changed files with 38 additions and 0 deletions

View 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
View file

@ -0,0 +1 @@
.guix/modules/meowy-webring.scm