all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Building Python pkg - date2name
@ 2021-04-24 13:10 phodina via
  2021-04-29  6:42 ` Carlo Zancanaro
  0 siblings, 1 reply; 2+ messages in thread
From: phodina via @ 2021-04-24 13:10 UTC (permalink / raw)
  To: help-guix@gnu.org

Hi, I'm trying to build a python module date2name. However, I can't use guix import pypi date2name as I get error:

guix import: error: no source release for pypi package date2name 2018.05.09.1

So I just download it from github and attempt the build. But, it does not have a setup.py file and fails in the build phase.
In Guix manual there is option #:use-setuptools? #f  but I also doesn't help.

Could you please provide guidance how to build the package?
(define-module (expanse packages date2name)

#:use-module (guix packages)

#:use-module (guix git-download)

#:use-module (guix build-system python)

#:use-module (guix licenses))

(define-public date2name

(package

(name "date2name")

(version "master")

(source (origin

(method git-fetch)

(uri

(git-reference

(url "https://github.com/novoid/date2name")

(commit version)))

(sha256

(base32

"064kydcry8jswbbvl1g7gg2pqmyz2fqk4j7k81pzlvb1vjnqjphd"))))

(build-system python-build-system)

(arguments

`(#:use-setuptools? #f))

(synopsis "Handling time-stamps and date-stamps in file names")

(description "Per default, date2name gets the modification time of matching files and directories and adds a datestamp in standard ISO 8601+ format YYYY-MM-DD (http://datestamps.org/index.shtml) at the beginning of the file- or directory name.")

(home-page "https://github.com/novoid/date2name")

(license gpl3)))

Kind regards
Petr Hodina

Sent with [ProtonMail](https://protonmail.com) Secure Email.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-29  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-24 13:10 Building Python pkg - date2name phodina via
2021-04-29  6:42 ` Carlo Zancanaro

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.