-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #171 from NixOS/condense-copyright
Condense REUSE 3.0 copyright and license notes
- Loading branch information
Showing
24 changed files
with
5 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 #-} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|