diff options
| -rw-r--r-- | guix-science/packages/version-control.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/guix-science/packages/version-control.scm b/guix-science/packages/version-control.scm index 5c609b7..36935ea 100644 --- a/guix-science/packages/version-control.scm +++ b/guix-science/packages/version-control.scm | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #:use-module (gnu packages python-xyz) | 13 | #:use-module (gnu packages python-xyz) |
| 14 | #:use-module (gnu packages serialization) | 14 | #:use-module (gnu packages serialization) |
| 15 | #:use-module (gnu packages ssh) | 15 | #:use-module (gnu packages ssh) |
| 16 | #:use-module (gnu packages time) | ||
| 16 | #:use-module (gnu packages version-control) | 17 | #:use-module (gnu packages version-control) |
| 17 | #:use-module (guix build-system pyproject) | 18 | #:use-module (guix build-system pyproject) |
| 18 | #:use-module (guix gexp) | 19 | #:use-module (guix gexp) |
| @@ -250,6 +251,52 @@ MarkDown reports containing multiple plots.") | |||
| 250 | (description "Client to interact with DVC Studio.") | 251 | (description "Client to interact with DVC Studio.") |
| 251 | (license license:asl2.0))) | 252 | (license license:asl2.0))) |
| 252 | 253 | ||
| 254 | (define-public python-dvc-task | ||
| 255 | (package | ||
| 256 | (name "python-dvc-task") | ||
| 257 | (version "0.40.2") | ||
| 258 | (source | ||
| 259 | (origin | ||
| 260 | (method git-fetch) | ||
| 261 | (uri (git-reference | ||
| 262 | (url "https://github.com/iterative/dvc-task") | ||
| 263 | (commit version))) | ||
| 264 | (file-name (git-file-name name version)) | ||
| 265 | (sha256 | ||
| 266 | (base32 "0qbahr6dyl42nv2fmv8135qa3amlsjlbqrab7hc2h2iifwp0j53d")))) | ||
| 267 | (build-system pyproject-build-system) | ||
| 268 | (arguments | ||
| 269 | (list | ||
| 270 | #:phases | ||
| 271 | #~(modify-phases %standard-phases | ||
| 272 | (add-after 'unpack 'patch-pyproject | ||
| 273 | (lambda _ | ||
| 274 | ;; Relax versioned requirements. | ||
| 275 | (substitute* "pyproject.toml" | ||
| 276 | (("\"funcy>=.*\"") | ||
| 277 | "\"funcy\"")))) | ||
| 278 | (add-before 'build 'set-version | ||
| 279 | (lambda _ | ||
| 280 | (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" | ||
| 281 | #$version)))))) | ||
| 282 | (propagated-inputs (list python-celery python-funcy-1.14 python-kombu | ||
| 283 | python-shortuuid)) | ||
| 284 | (native-inputs (list python-dateutil | ||
| 285 | python-pytest | ||
| 286 | python-pytest-celery | ||
| 287 | python-pytest-cov | ||
| 288 | python-pytest-mock | ||
| 289 | python-pytest-rerunfailures | ||
| 290 | python-pytest-sugar | ||
| 291 | python-pytest-test-utils | ||
| 292 | python-setuptools | ||
| 293 | python-setuptools-scm | ||
| 294 | python-wheel)) | ||
| 295 | (home-page "https://dvc.org/") | ||
| 296 | (synopsis "Extensible task queue used in DVC") | ||
| 297 | (description "Extensible task queue used in DVC.") | ||
| 298 | (license license:asl2.0))) | ||
| 299 | |||
| 253 | (define-public python-gto | 300 | (define-public python-gto |
| 254 | (package | 301 | (package |
| 255 | (name "python-gto") | 302 | (name "python-gto") |
