gnu: Add python-hatch-vcs.

* gnu/packages/python-build.scm (python-hatch-vcs): New variable.
This commit is contained in:
Maxim Cournoyer 2023-04-16 00:33:43 -04:00
parent 545b9548d5
commit 2bf851e4b8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -675,3 +675,22 @@ (define-public python-hatchling
@item Responsive CLI, ~2-3x faster than equivalent tools.
@end itemize")
(license license:expat)))
(define-public python-hatch-vcs
(package
(name "python-hatch-vcs")
(version "0.3.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "hatch_vcs" version))
(sha256
(base32
"1viz2mdfxfqpsd5f30410q6smj90qfxihvy9idzwd0p4ziy11iff"))))
(arguments (list #:tests? #f)) ;avoid extra test dependencies
(build-system pyproject-build-system)
(propagated-inputs (list python-hatchling python-setuptools-scm))
(home-page "https://github.com/ofek/hatch-vcs")
(synopsis "Hatch plugin for versioning with your preferred VCS")
(description "This package is a plugin for Hatch that uses your preferred
version control system (like Git) to determine project versions.")
(license license:expat)))