Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nix
Source: https://nixos.org/releases/nix/latest/
Comment: Reasons for file exclusions
 - eval-okay-fromjson.nix contains an example from an RFC file
   see https://github.com/NixOS/nix/issues/3391
 - scripts/install-multi-user.sh is sourced from many places. Also the other
   install scripts are not needed in a Debian package.
 - exclude bundled dependency json.hpp (package nlohmann-json3-dev)
 - exclude bundled dependency highlight.js
Files-Excluded:
 scripts/create-darwin-volume.sh
 scripts/install-darwin-multi-user.sh
 scripts/install-multi-user.sh
 scripts/install-nix-from-tarball.sh
 doc/manual/theme

Files: *
Copyright: 2006-2020 Eelco Dostra
License: LGPL-2.1
Comment: The upstream code is ambiguous about whether the license is
 LGPL-2.1 or LGPL-2.1+, see https://github.com/NixOS/nix/issues/3390.
 README.md says: "Nix is released under the LGPL v2.1".
 nix.spec.in and about-nix.xml say "LGPL 2.1+".
 Thus leaving the more conservative choice here until upstream resolves
 this.

License: LGPL-2.1
 This package is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.
 .
 This package is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public License
 along with this program. If not, see <https://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU Lesser General
 Public License can be found in "/usr/share/common-licenses/LGPL-2.1".

Files: debian/*
Copyright: 2017-2018 Kai Harries <kai.harries@gmail.com>
           2018-2022 Thomas Koch <thomas@koch.ro>
License: GPL-2+
 This package is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This package is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program. If not, see <https://www.gnu.org/licenses/>
 .
 On Debian systems, the complete text of the GNU General
 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
