From 83cc776bcdfae930d49f3c321ebf787e9ed7b111 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 27 Apr 2025 16:18:51 +0200 Subject: treewide: Add nice GPL-3.0-or-later license header This change also ensures that this repo is reuse-3.0 compliant. --- pkgs/by-name/lf/lf-make-map/src/cli.rs | 10 ++++++++++ pkgs/by-name/lf/lf-make-map/src/main.rs | 10 ++++++++++ pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/display.rs | 10 ++++++++++ pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/iterator.rs | 10 ++++++++++ pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/lf_mapping.rs | 10 ++++++++++ pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/mod.rs | 10 ++++++++++ pkgs/by-name/lf/lf-make-map/src/mapping/mod.rs | 10 ++++++++++ 7 files changed, 70 insertions(+) (limited to 'pkgs/by-name/lf/lf-make-map/src') diff --git a/pkgs/by-name/lf/lf-make-map/src/cli.rs b/pkgs/by-name/lf/lf-make-map/src/cli.rs index a398e451..70746984 100644 --- a/pkgs/by-name/lf/lf-make-map/src/cli.rs +++ b/pkgs/by-name/lf/lf-make-map/src/cli.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::path::PathBuf; use clap::{ArgAction, Parser, Subcommand}; diff --git a/pkgs/by-name/lf/lf-make-map/src/main.rs b/pkgs/by-name/lf/lf-make-map/src/main.rs index aaf79b20..d3cc9f6f 100644 --- a/pkgs/by-name/lf/lf-make-map/src/main.rs +++ b/pkgs/by-name/lf/lf-make-map/src/main.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::path::{Path, PathBuf}; use anyhow::{Context, Result}; diff --git a/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/display.rs b/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/display.rs index 65302e1e..4625289a 100644 --- a/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/display.rs +++ b/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/display.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::fmt::Display; use crate::mapping::{ diff --git a/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/iterator.rs b/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/iterator.rs index 4364bb2b..7f5ee132 100644 --- a/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/iterator.rs +++ b/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/iterator.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::mapping::MapKey; use super::{MappingTree, Node, NodeValue}; diff --git a/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/lf_mapping.rs b/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/lf_mapping.rs index ba485dc2..f6ba2c43 100644 --- a/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/lf_mapping.rs +++ b/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/lf_mapping.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::path::PathBuf; use crate::mapping::MapKey; diff --git a/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/mod.rs b/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/mod.rs index 35e6d91d..604c855d 100644 --- a/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/mod.rs +++ b/pkgs/by-name/lf/lf-make-map/src/mapping/map_tree/mod.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::{collections::HashMap, mem}; use anyhow::{bail, Result}; diff --git a/pkgs/by-name/lf/lf-make-map/src/mapping/mod.rs b/pkgs/by-name/lf/lf-make-map/src/mapping/mod.rs index 114fdca0..8ccbfb9a 100644 --- a/pkgs/by-name/lf/lf-make-map/src/mapping/mod.rs +++ b/pkgs/by-name/lf/lf-make-map/src/mapping/mod.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::{ fmt::{Display, Write}, hash::Hash, -- cgit 1.4.1