Skip to content

Instantly share code, notes, and snippets.

@AshyIsMe
Created January 14, 2023 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AshyIsMe/0b115aadb830ee5f269c5203cbda952f to your computer and use it in GitHub Desktop.
Save AshyIsMe/0b115aadb830ee5f269c5203cbda952f to your computer and use it in GitHub Desktop.
guix import pypi
(define-module (s4cmd)
#:use-module (guix packages)
#:use-module (guix build-system python)
#:use-module (guix download))
(package
(name "python-s4cmd")
(version "2.1.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "s4cmd" version))
(sha256
(base32
"0d4mx98i3qhvlmr9x898mjvf827smzx6x5ji6daiwgjdlxc60mj2"))))
(build-system python-build-system)
(propagated-inputs (list python-boto3 python-pytz))
(home-page "https://github.com/bloomreach/s4cmd")
(synopsis "Super S3 command line tool")
(description "Super S3 command line tool")
(license #f))
@AshyIsMe
Copy link
Author

Package was created with guix import pypi s4cmd.
I manually added the define-module at the top.

When trying to use it:

$ guix shell -L . python-s4cmd
error: package: unbound variable
hint: Did you forget `(use-modules (guix packages))'?

guix shell: error: python-s4cmd: unknown package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment