Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: case-app
Upstream-Contact: Alexandre Archambault <alexandre.archambault@gmail.com>
Source: https://github.com/alexarchambault/case-app

Files: *
Copyright: 2014 Alexandre Archambault
 2020 Filipe Regadas
 2026 Jakub Kozlowski
License: Apache-2.0

Files: util/src/main/scala-2/caseapp/util/Default.scala
 util/src/main/scala-2/caseapp/util/AnnotationListMacros.scala
Copyright: 2015 Alexandre Archambault
 2012-2015 Lars Hupel, Miles Sabin
License: Apache-2.0
Comment: Copied from shapeless (Apache-2.0), as the comments say:
 default.scala and annotation.scala, both by Alexandre Archambault, and
 construct() from generic.scala (Lars Hupel, Miles Sabin). Scala 2 only,
 not built.

Files: core/shared/src/main/scala/caseapp/core/app/CommandsEntryPoint.scala
 core/shared/src/main/scala/caseapp/core/app/ProfileFileUpdater.scala
 core/shared/src/main/scala/caseapp/core/complete/CompletionsInstallOptions.scala
 core/shared/src/main/scala/caseapp/core/complete/CompletionsUninstallOptions.scala
Copyright: 2014 Alexandre Archambault
 the Scala CLI contributors
License: Apache-2.0
Comment: Parts are adapted from Scala CLI (Apache-2.0, VirtusLab; its
 LICENSE has no holder line) and from coursier (Alexandre Archambault),
 as the comments say.

Files: core/shared/src/main/scala/caseapp/core/help/WordUtils.scala
Copyright: 2014 Alexandre Archambault
 The Apache Software Foundation
License: Apache-2.0
Comment: wrap is adapted from Apache Commons Lang's WordUtils.

Files: core/shared/src/main/scala/caseapp/core/util/Fansi.scala
Copyright: 2016 Li Haoyi (haoyi.sg@gmail.com)
License: Expat
Comment: A copy of fansi (https://github.com/com-lihaoyi/fansi), vendored
 by upstream in 2021 under its MIT licence. Its ansiRegex is a single
 regular expression from a 2015 Stack Overflow answer
 (https://stackoverflow.com/a/33925425, CC-BY-SA 3.0).

Files: unroll/*
Copyright: 2026 Li Haoyi
 2026 Alexandre Archambault <alexandre.archambault@gmail.com>
License: Expat
Comment: The unroll compiler plugin (https://github.com/com-lihaoyi/unroll),
 vendored through Chisel and coursier, see unroll/README.md. Upstream
 unroll declares MIT in its build file; Chisel added unroll/LICENSE. The
 coursier and case-app changes keep that licence. Built only to compile
 core; not installed.

Files: unroll/src/unroll/UnrollPhaseScala3.scala
Copyright: 2026 Li Haoyi
 2026 Alexandre Archambault <alexandre.archambault@gmail.com>
 EPFL and Lightbend, Inc.
License: Expat and Apache-2.0
Comment: isValidUnrolledMethod is adapted from the Scala 3 compiler
 (Apache-2.0), as the comment says.

Files: mill mill.bat
Copyright: 2019-2025 Tobias Roeser <le.petit.fou@web.de>
 2025 Li Haoyi <haoyi.sg@gmail.com>
License: Apache-2.0
Comment: Mill launcher, from https://github.com/lefou/millw via Mill's
 dist/scripts/src/mill.sh. Not used by the build.

Files: debian/*
Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: Apache-2.0

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the license can be found in
 "/usr/share/common-licenses/Apache-2.0".

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
