summaryrefslogtreecommitdiff
path: root/gnu/packages/version-control.scm
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2026-08-31 10:18:28 +0900
committerNguyễn Gia Phong <cnx@loang.net>2026-08-31 11:00:17 +0900
commit6d3147bcb7153c2b4ad6db356fd443f02fd847da (patch)
tree5a87e25a5dcf2d5b97a3dfd966edec2da2f80d95 /gnu/packages/version-control.scm
parenta421c1ddff48e6bf7dce4ddd2b152861b86a1f17 (diff)
gnu: Remove libgit2-1.9/pinned.
libgit2-1.9 has over 600 dependents and needs to be updated in a topic branch now, no different from a pinned variant. * gnu/packages/version-control.scm (libgit2-1.9/pinned): Delete variable. * gnu/packages/rust-apps.scm (rust-cargo-c)[inputs]: Replace libgit2-1.9/pinned with libgit2-1.9. * gnu/packages/video.scm (rav1e)[inputs]: Likewise.
Diffstat (limited to 'gnu/packages/version-control.scm')
-rw-r--r--gnu/packages/version-control.scm45
1 files changed, 0 insertions, 45 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 4157187c015..5fdbf1dfce2 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1485,51 +1485,6 @@ write native speed custom Git applications in any language with bindings.")
1485 ;; GPLv2 with linking exception 1485 ;; GPLv2 with linking exception
1486 (license license:gpl2))) 1486 (license license:gpl2)))
1487 1487
1488(define-public libgit2-1.9/pinned
1489 ;; This is a pinned version used as a dependency for 'rust-cargo-c'.
1490 ;; Update periodically.
1491 (package/inherit libgit2-1.9
1492 (version "1.9.2")
1493 (source (origin
1494 (inherit (package-source libgit2-1.9))
1495 (method git-fetch)
1496 (uri (git-reference
1497 (url "https://github.com/libgit2/libgit2")
1498 (commit (string-append "v" version))))
1499 (file-name (git-file-name "libgit2" version))
1500 (sha256
1501 (base32
1502 "1f3wnw0s5fx4lf68i400mj6l7qyw9hf6mr7i2xlqqmp9q23q89sc"))
1503 (patches
1504 (search-patches "libgit2-uninitialized-proxy-settings.patch"
1505 "libgit2-proxy-reconnection.patch"
1506 "libgit2-path-max.patch"))))
1507 (arguments
1508 (list #:configure-flags
1509 #~(list "-DUSE_NTLMCLIENT=OFF" ;TODO: package this
1510 "-DREGEX_BACKEND=pcre2"
1511 "-DUSE_HTTP_PARSER=http-parser"
1512 "-DUSE_SSH=ON" ; cmake fails to find libssh if this is missing
1513 ;; See https://github.com/libgit2/libgit2/issues/7169
1514 #$@(if (target-32bit?)
1515 '("-DCMAKE_C_FLAGS=-D_FILE_OFFSET_BITS=64")
1516 '()))
1517 #:phases
1518 #~(modify-phases %standard-phases
1519 ;; Run checks more verbosely, unless we are cross-compiling.
1520 (replace 'check
1521 (lambda* (#:key (tests? #t) #:allow-other-keys)
1522 (if tests?
1523 (invoke "./libgit2_tests" "-v" "-Q")
1524 ;; Tests may be disabled if cross-compiling.
1525 (format #t "Test suite not run.~%")))))))
1526 (inputs
1527 (list libssh2 http-parser))
1528 (propagated-inputs
1529 ;; These libraries are in 'Requires.private' in libgit2.pc.
1530 (list openssl pcre2 zlib))
1531 (properties '((hidden? . #t)))))
1532
1533(define-public libgit2-1.8 1488(define-public libgit2-1.8
1534 (package 1489 (package
1535 (inherit libgit2-1.9) 1490 (inherit libgit2-1.9)