(use-modules
  (guix)
  ((guix licenses) #:prefix license:)
  (guix download)
  ((guix git-download) #:select (git-predicate))
  ((guix utils) #:select (current-source-directory))
  (guix build-system gnu)
  (gnu packages)
  (gnu packages autotools)
  (gnu packages compression)
  (gnu packages guile)
  (gnu packages guile-xyz)
  (gnu packages pkg-config)
  (gnu packages texinfo))

(define source-checkout
  (let ((vcs-file? (or (git-predicate (current-source-directory))
                       (const #t))))
    (local-file "." "guile-lzlib-checkout"
                #:recursive? #t
                #:select? vcs-file?)))

(package
  (name "guile-lzlib")
  (version "0.3.0")
  (source source-checkout)
  (build-system gnu-build-system)
  (arguments `())
  (native-inputs (list autoconf automake pkg-config))
  (inputs (list guile-3.0 lzlib))
  (synopsis "")
  (description "")
  (home-page "")
  (license license:gpl3+))
