#1152799 ITP: sourcecode -- source location metadata for Scala programs

Package:
wnpp
Source:
wnpp
Submitter:
Juan Manuel Méndez Rey
Date:
2026-11-01 17:43:06 UTC
Severity:
normal
#1152799#5
Date:
2026-11-01 17:41:13 UTC
From:
To:
* Package name    : sourcecode
  Version         : 0.4.4
  Upstream Authors: Li Haoyi <haoyi.sg@gmail.com>
                    Anatolii Kmetiuk <anatoliykmetyuk@gmail.com>
                    Lorenzo Gabriele <lorenzolespaul@gmail.com>
  URL             : https://github.com/com-lihaoyi/sourcecode
  License         : Expat
  Programming Lang: Scala
  Description     : source location metadata for Scala programs

 sourcecode gives a Scala program metadata about its own source, such
 as the current file, line, and enclosing name, similar to __FILE__
 and __LINE__ in C. It is resolved at compile time with implicits.

os-lib, upickle, fastparse and scalameta depend on it. It will be built for
Scala 3 with scala-debian-helper and maintained in the Java team:
https://salsa.debian.org/java-team/sourcecode