From add8d159e8ebd788a3f8dfd141ef1cb627800aec Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 13 May 2024 20:52:07 +0000 Subject: [PATCH] gnu: Add python-calver. * gnu/packages/python-build.scm (python-calver): New variable. Change-Id: Icaf6d09519f792b42a5e0992b2e4fed4131b67f5 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8ff8e3aab49..e16ff2fd801 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3646,6 +3646,29 @@ metaclass-based @code{NamedTuple} implementation and a @code{NamedConstant} class.") (license license:bsd-3))) +(define-public python-calver + (package + (name "python-calver") + (version "2022.06.26") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/di/calver") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14l9kv9igcmp5k6d2ahnx6z4dn6zy5kykz95hkh0rkqswn8x79b1")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pretend python-pytest python-setuptools)) + (home-page "https://github.com/di/calver") + (synopsis "Setuptools extension for CalVer package versions") + (description + "The calver package is a setuptools extension for automatically defining +your Python package version as a calendar version.") + (license license:asl2.0))) + (define-public python-can (package (name "python-can")