Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Condense REUSE 3.0 copyright and license notes #171

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 5 additions & 31 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -1,34 +1,8 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Files: .github/ISSUE_TEMPLATE/formatting-suggestion.md
Copyright: 2019 Serokell <[email protected]>
2019 Lars Jellema <[email protected]>
License: MPL-2.0

Files: npins/*
Copyright: 2024 Silvan Mosberger <[email protected]>
License: MPL-2.0

Files: test/diff/*
Copyright: 2024 piegames <[email protected]>
License: MPL-2.0

Files: test/correct/*
Copyright: 2022 Serokell <[email protected]>
2022 Lars Jellema <[email protected]>
License: MPL-2.0

Files: test/changed/*
Copyright: 2022 Serokell <[email protected]>
2022 Lars Jellema <[email protected]>
License: MPL-2.0

Files: test/invalid/*
Copyright: 2022 Serokell <[email protected]>
2022 Lars Jellema <[email protected]>
License: MPL-2.0

Files: flake.lock
Copyright: 2020 Serokell <[email protected]>
2022 Yorick van Pelt <[email protected]>
Files: *
Copyright: 2019-2022 Serokell <[email protected]>
2019-2022 Lars Jellema <[email protected]>
2023-2024 piegames <[email protected]>
2024 Silvan Mosberger <[email protected]>
License: MPL-2.0
7 changes: 0 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
<!-- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-->


# Revision history for nixfmt

## Unreleased
Expand Down
6 changes: 0 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<!-- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-->

# Contribution Guidelines

We welcome issues and pull requests at https://github.com/serokell/nixfmt.
Expand Down
5 changes: 0 additions & 5 deletions MAINTENANCE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
<!-- © 2023 piegames <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-->

# Maintainer documentation

## Making a new release
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<!-- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-->

# `nixfmt`

`nixfmt` is a formatter for Nix code, intended to easily apply a uniform style.
Expand Down
6 changes: 0 additions & 6 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# © 2019 Serokell <[email protected]>
# © 2019 Lars Jellema <[email protected]>
# © 2024 Silvan Mosberger <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

let
sources = import ./npins;
in
Expand Down
4 changes: 0 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# © 2019 Serokell <[email protected]>
# © 2019 Lars Jellema <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0
{

inputs.flake-utils.url = "github:numtide/flake-utils";
Expand Down
6 changes: 0 additions & 6 deletions main/Main.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# LANGUAGE DeriveDataTypeable, NamedFieldPuns, MultiWayIf #-}

module Main where
Expand Down
5 changes: 0 additions & 5 deletions main/System/IO/Atomic.hs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{- © 2019 Serokell <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

-- | Atomic file IO.
--
-- This modules allows one to replace the contents of a file atomically by
Expand Down
5 changes: 0 additions & 5 deletions main/System/IO/Utf8.hs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{- © 2019 Serokell <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE ViewPatterns #-}

Expand Down
6 changes: 0 additions & 6 deletions nixfmt.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
cabal-version: 2.0

-- © 2022 Serokell <[email protected]>
-- © 2022 Lars Jellema <[email protected]>
--
-- SPDX-License-Identifier: MPL-2.0

name: nixfmt
version: 0.6.0
synopsis: An opinionated formatter for Nix
Expand Down
2 changes: 0 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# © 2024 Silvan Mosberger <[email protected]>
# SPDX-License-Identifier: MPL-2.0
(import ./default.nix { }).shell
6 changes: 0 additions & 6 deletions src/Nixfmt.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

module Nixfmt
( errorBundlePretty
, ParseErrorBundle
Expand Down
6 changes: 0 additions & 6 deletions src/Nixfmt/Lexer.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# LANGUAGE BlockArguments, FlexibleContexts, LambdaCase, OverloadedStrings, TupleSections #-}

module Nixfmt.Lexer (lexeme, pushTrivia, takeTrivia, whole) where
Expand Down
6 changes: 0 additions & 6 deletions src/Nixfmt/Parser.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# LANGUAGE FlexibleInstances, OverloadedStrings #-}

module Nixfmt.Parser where
Expand Down
6 changes: 0 additions & 6 deletions src/Nixfmt/Parser/Float.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{- © 2022 Serokell <[email protected]>
- © 2022 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# LANGUAGE TypeFamilies, TypeApplications, ScopedTypeVariables, TypeOperators #-}

module Nixfmt.Parser.Float (floatParse) where
Expand Down
6 changes: 0 additions & 6 deletions src/Nixfmt/Predoc.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# LANGUAGE FlexibleInstances, OverloadedStrings, LambdaCase #-}

module Nixfmt.Predoc
Expand Down
6 changes: 0 additions & 6 deletions src/Nixfmt/Pretty.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# LANGUAGE FlexibleInstances, OverloadedStrings, RankNTypes, TupleSections, LambdaCase #-}

module Nixfmt.Pretty where
Expand Down
6 changes: 0 additions & 6 deletions src/Nixfmt/Types.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# LANGUAGE DeriveFoldable, OverloadedStrings, RankNTypes, LambdaCase, TupleSections, FlexibleInstances #-}

module Nixfmt.Types where
Expand Down
6 changes: 0 additions & 6 deletions src/Nixfmt/Util.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{- © 2019 Serokell <[email protected]>
- © 2019 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# LANGUAGE TupleSections #-}

module Nixfmt.Util
Expand Down
6 changes: 0 additions & 6 deletions standard.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<!-- © 2024 piegames <[email protected]>
- © 2024 Silvan Mosberger <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-->

# Standard Nix format

This document describes the standard Nix format, as first established [by RFC 166](https://github.com/NixOS/rfcs/blob/master/rfcs/0166-nix-formatting.md#standard-nix-format).
Expand Down
5 changes: 0 additions & 5 deletions team/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
<!-- © 2024 Silvan Mosberger <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-->

# Nix formatting team

This page collects information and processes for the Nix formatting team.
Expand Down
6 changes: 0 additions & 6 deletions test/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<!-- © 2022 Serokell <[email protected]>
- © 2022 Lars Jellema <[email protected]>
-
- SPDX-License-Identifier: MPL-2.0
-->

Tests in `correct` are formatted the way they should be.
Running `nixfmt --verify` on them should result in the output being the same as
the input.
Expand Down
2 changes: 0 additions & 2 deletions test/test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
# © 2024 piegames <[email protected]>
# SPDX-License-Identifier: MPL-2.0

set -euo pipefail

Expand Down