meowy-webring/.guix/modules/meowy-webring.scm

32 lines
878 B
Scheme
Raw Normal View History

2023-08-21 03:56:08 +00:00
(load "crates-io.scm")
(define-module (meowy-webring)
2023-12-28 19:03:24 +00:00
:use-module (crates-io)
#:use-module (guix)
#:use-module (guix build-system cargo)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages crates-io)
#:use-module (srfi srfi-1))
2023-08-21 03:56:08 +00:00
(define (keep-file? file stat)
2023-12-28 19:03:24 +00:00
(or (git-predicate (current-source-directory))
(const #t)))
2023-08-21 03:56:08 +00:00
(define-public meowy-webring
2023-12-28 19:03:24 +00:00
(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 #:cargo-inputs `(("rust-rocket" ,rust-rocket-0.5)
("rust-serde" ,rust-serde-1))))
(synopsis "")
(description "")
(home-page "")
(license license:cc0)))
2023-08-21 03:56:08 +00:00
meowy-webring