about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-02 01:25:44 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-02 01:25:44 +0200
commitd4dff920790b96db87c9b373d42df046d899cc30 (patch)
tree9e10540a95ccea633e3e2fa70e26df9d2a2777cf /templates
parentfix(templates/c): Make the `makefile` more standards complying (diff)
downloadflake-templates-d4dff920790b96db87c9b373d42df046d899cc30.tar.gz
flake-templates-d4dff920790b96db87c9b373d42df046d899cc30.zip
feat(treewide): Use new `%INIT_` variables
Diffstat (limited to 'templates')
-rw-r--r--templates/awk/.licensure.yml4
-rw-r--r--templates/awk/LICENSE.spdx8
-rw-r--r--templates/awk/README.md3
-rw-r--r--templates/awk/cog.toml8
-rw-r--r--templates/awk/flake.nix2
-rw-r--r--templates/c/.licensure.yml4
-rw-r--r--templates/c/LICENSE.spdx8
-rw-r--r--templates/c/README.md3
-rw-r--r--templates/c/cog.toml8
-rw-r--r--templates/c/flake.nix2
-rw-r--r--templates/latex/.licensure.yml4
-rw-r--r--templates/latex/LICENSE.spdx8
-rw-r--r--templates/latex/README.md3
-rw-r--r--templates/latex/cog.toml8
-rw-r--r--templates/latex/flake.nix2
-rw-r--r--templates/rust/.licensure.yml4
-rw-r--r--templates/rust/Cargo.toml3
-rw-r--r--templates/rust/LICENSE.spdx8
-rw-r--r--templates/rust/README.md3
-rw-r--r--templates/rust/cog.toml8
-rw-r--r--templates/rust/flake.nix2
-rw-r--r--templates/shell/.licensure.yml4
-rw-r--r--templates/shell/LICENSE.spdx8
-rw-r--r--templates/shell/README.md3
-rw-r--r--templates/shell/cog.toml8
-rw-r--r--templates/shell/flake.nix2
26 files changed, 67 insertions, 61 deletions
diff --git a/templates/awk/.licensure.yml b/templates/awk/.licensure.yml
index 74efd9a..942a96f 100644
--- a/templates/awk/.licensure.yml
+++ b/templates/awk/.licensure.yml
@@ -18,8 +18,8 @@ licenses:
   - files: \.tex
     ident: CC-BY-SA-4.0
     authors:
-      - name: Benedikt Peetz
-        email: "benedikt.peetz@b-peetz.de"
+      - name: "%INIT_AUTHOR_NAME"
+        email: "%INIT_AUTHOR_EMAIL"
 
     template: |
       TODO 2024 - [year] (C) by [name of author]
diff --git a/templates/awk/LICENSE.spdx b/templates/awk/LICENSE.spdx
index ecb7d83..72ea9a5 100644
--- a/templates/awk/LICENSE.spdx
+++ b/templates/awk/LICENSE.spdx
@@ -1,7 +1,7 @@
 SPDXVersion: SPDX-2.3
 DataLicense: CC0-1.0
-Creator: TODO
-PackageName: TODO
-PackageOriginator: TODO
-PackageHomePage: TODO
+Creator: flake template init
+PackageName: %INIT_APPLICATION_NAME
+PackageOriginator: %INIT_APPLICATION_ORIGINATOR
+PackageHomePage: %INIT_APPLICATION_HOME_PAGE
 PackageLicenseDeclared: GPL-3.0-or-later
diff --git a/templates/awk/README.md b/templates/awk/README.md
index 5912c16..79f2a41 100644
--- a/templates/awk/README.md
+++ b/templates/awk/README.md
@@ -1,4 +1,5 @@
-# TODO
+# %INIT_APPLICATION_NAME_STYLIZED
+> %INIT_DESCRIPTION
 
 Some text about the project.
 
diff --git a/templates/awk/cog.toml b/templates/awk/cog.toml
index 1157b91..ea1b5e3 100644
--- a/templates/awk/cog.toml
+++ b/templates/awk/cog.toml
@@ -18,7 +18,7 @@ post_bump_hooks = [
 [changelog]
 path = "NEWS.md"
 template = "remote"
-remote = "TODO"
-repository = "TODO"
-owner = "TODO"
-authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }]
+remote = "%INIT_REMOTE"
+repository = "%INIT_REPOSITORY"
+owner = "%INIT_OWNER"
+authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
diff --git a/templates/awk/flake.nix b/templates/awk/flake.nix
index 144a17e..8dc59bf 100644
--- a/templates/awk/flake.nix
+++ b/templates/awk/flake.nix
@@ -1,5 +1,5 @@
 {
-  description = "TODO";
+  description = "%INIT_DESCRIPTION";
 
   inputs = {
     nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
diff --git a/templates/c/.licensure.yml b/templates/c/.licensure.yml
index 74efd9a..942a96f 100644
--- a/templates/c/.licensure.yml
+++ b/templates/c/.licensure.yml
@@ -18,8 +18,8 @@ licenses:
   - files: \.tex
     ident: CC-BY-SA-4.0
     authors:
-      - name: Benedikt Peetz
-        email: "benedikt.peetz@b-peetz.de"
+      - name: "%INIT_AUTHOR_NAME"
+        email: "%INIT_AUTHOR_EMAIL"
 
     template: |
       TODO 2024 - [year] (C) by [name of author]
diff --git a/templates/c/LICENSE.spdx b/templates/c/LICENSE.spdx
index ecb7d83..72ea9a5 100644
--- a/templates/c/LICENSE.spdx
+++ b/templates/c/LICENSE.spdx
@@ -1,7 +1,7 @@
 SPDXVersion: SPDX-2.3
 DataLicense: CC0-1.0
-Creator: TODO
-PackageName: TODO
-PackageOriginator: TODO
-PackageHomePage: TODO
+Creator: flake template init
+PackageName: %INIT_APPLICATION_NAME
+PackageOriginator: %INIT_APPLICATION_ORIGINATOR
+PackageHomePage: %INIT_APPLICATION_HOME_PAGE
 PackageLicenseDeclared: GPL-3.0-or-later
diff --git a/templates/c/README.md b/templates/c/README.md
index 5912c16..79f2a41 100644
--- a/templates/c/README.md
+++ b/templates/c/README.md
@@ -1,4 +1,5 @@
-# TODO
+# %INIT_APPLICATION_NAME_STYLIZED
+> %INIT_DESCRIPTION
 
 Some text about the project.
 
diff --git a/templates/c/cog.toml b/templates/c/cog.toml
index ff2c110..ccca764 100644
--- a/templates/c/cog.toml
+++ b/templates/c/cog.toml
@@ -18,7 +18,7 @@ post_bump_hooks = [
 [changelog]
 path = "NEWS.md"
 template = "remote"
-remote = "TODO"
-repository = "TODO"
-owner = "TODO"
-authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }]
+remote = "%INIT_REMOTE"
+repository = "%INIT_REPOSITORY"
+owner = "%INIT_OWNER"
+authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
diff --git a/templates/c/flake.nix b/templates/c/flake.nix
index e19bbd4..a211b56 100644
--- a/templates/c/flake.nix
+++ b/templates/c/flake.nix
@@ -1,5 +1,5 @@
 {
-  description = "TODO";
+  description = "%INIT_DESCRIPTION";
 
   inputs = {
     nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
diff --git a/templates/latex/.licensure.yml b/templates/latex/.licensure.yml
index 74efd9a..942a96f 100644
--- a/templates/latex/.licensure.yml
+++ b/templates/latex/.licensure.yml
@@ -18,8 +18,8 @@ licenses:
   - files: \.tex
     ident: CC-BY-SA-4.0
     authors:
-      - name: Benedikt Peetz
-        email: "benedikt.peetz@b-peetz.de"
+      - name: "%INIT_AUTHOR_NAME"
+        email: "%INIT_AUTHOR_EMAIL"
 
     template: |
       TODO 2024 - [year] (C) by [name of author]
diff --git a/templates/latex/LICENSE.spdx b/templates/latex/LICENSE.spdx
index 20d2ea0..3a4f6fb 100644
--- a/templates/latex/LICENSE.spdx
+++ b/templates/latex/LICENSE.spdx
@@ -1,7 +1,7 @@
 SPDXVersion: SPDX-2.3
 DataLicense: CC0-1.0
-Creator: TODO
-PackageName: TODO
-PackageOriginator: TODO
-PackageHomePage: TODO
+Creator: flake template init
+PackageName: %INIT_APPLICATION_NAME
+PackageOriginator: %INIT_APPLICATION_ORIGINATOR
+PackageHomePage: %INIT_APPLICATION_HOME_PAGE
 PackageLicenseDeclared: CC-BY-SA-4.0
diff --git a/templates/latex/README.md b/templates/latex/README.md
index 172ae84..88664ee 100644
--- a/templates/latex/README.md
+++ b/templates/latex/README.md
@@ -1,4 +1,5 @@
-# TODO
+# %INIT_APPLICATION_NAME_STYLIZED
+> %INIT_DESCRIPTION
 
 Some text about the project.
 
diff --git a/templates/latex/cog.toml b/templates/latex/cog.toml
index ff2c110..ccca764 100644
--- a/templates/latex/cog.toml
+++ b/templates/latex/cog.toml
@@ -18,7 +18,7 @@ post_bump_hooks = [
 [changelog]
 path = "NEWS.md"
 template = "remote"
-remote = "TODO"
-repository = "TODO"
-owner = "TODO"
-authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }]
+remote = "%INIT_REMOTE"
+repository = "%INIT_REPOSITORY"
+owner = "%INIT_OWNER"
+authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
diff --git a/templates/latex/flake.nix b/templates/latex/flake.nix
index ca4edeb..0247cce 100644
--- a/templates/latex/flake.nix
+++ b/templates/latex/flake.nix
@@ -1,5 +1,5 @@
 {
-  description = "TODO";
+  description = "%INIT_DESCRIPTION";
 
   inputs = {
     nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
diff --git a/templates/rust/.licensure.yml b/templates/rust/.licensure.yml
index 74efd9a..942a96f 100644
--- a/templates/rust/.licensure.yml
+++ b/templates/rust/.licensure.yml
@@ -18,8 +18,8 @@ licenses:
   - files: \.tex
     ident: CC-BY-SA-4.0
     authors:
-      - name: Benedikt Peetz
-        email: "benedikt.peetz@b-peetz.de"
+      - name: "%INIT_AUTHOR_NAME"
+        email: "%INIT_AUTHOR_EMAIL"
 
     template: |
       TODO 2024 - [year] (C) by [name of author]
diff --git a/templates/rust/Cargo.toml b/templates/rust/Cargo.toml
index 6813ae1..86c4efa 100644
--- a/templates/rust/Cargo.toml
+++ b/templates/rust/Cargo.toml
@@ -1,5 +1,6 @@
 [package]
-name = "TODO"
+name = "%INIT_APPLICATION_NAME"
+description = "%INIT_DESCRIPTION"
 version = "0.1.0"
 edition = "2021"
 
diff --git a/templates/rust/LICENSE.spdx b/templates/rust/LICENSE.spdx
index ecb7d83..72ea9a5 100644
--- a/templates/rust/LICENSE.spdx
+++ b/templates/rust/LICENSE.spdx
@@ -1,7 +1,7 @@
 SPDXVersion: SPDX-2.3
 DataLicense: CC0-1.0
-Creator: TODO
-PackageName: TODO
-PackageOriginator: TODO
-PackageHomePage: TODO
+Creator: flake template init
+PackageName: %INIT_APPLICATION_NAME
+PackageOriginator: %INIT_APPLICATION_ORIGINATOR
+PackageHomePage: %INIT_APPLICATION_HOME_PAGE
 PackageLicenseDeclared: GPL-3.0-or-later
diff --git a/templates/rust/README.md b/templates/rust/README.md
index 5912c16..79f2a41 100644
--- a/templates/rust/README.md
+++ b/templates/rust/README.md
@@ -1,4 +1,5 @@
-# TODO
+# %INIT_APPLICATION_NAME_STYLIZED
+> %INIT_DESCRIPTION
 
 Some text about the project.
 
diff --git a/templates/rust/cog.toml b/templates/rust/cog.toml
index 4902ede..b4c68e1 100644
--- a/templates/rust/cog.toml
+++ b/templates/rust/cog.toml
@@ -19,7 +19,7 @@ post_bump_hooks = [
 [changelog]
 path = "NEWS.md"
 template = "remote"
-remote = "TODO"
-repository = "TODO"
-owner = "TODO"
-authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }]
+remote = "%INIT_REMOTE"
+repository = "%INIT_REPOSITORY"
+owner = "%INIT_OWNER"
+authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
diff --git a/templates/rust/flake.nix b/templates/rust/flake.nix
index 437b8a9..e6e5dc5 100644
--- a/templates/rust/flake.nix
+++ b/templates/rust/flake.nix
@@ -1,5 +1,5 @@
 {
-  description = "TODO";
+  description = "%INIT_DESCRIPTION";
 
   inputs = {
     nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
diff --git a/templates/shell/.licensure.yml b/templates/shell/.licensure.yml
index 74efd9a..942a96f 100644
--- a/templates/shell/.licensure.yml
+++ b/templates/shell/.licensure.yml
@@ -18,8 +18,8 @@ licenses:
   - files: \.tex
     ident: CC-BY-SA-4.0
     authors:
-      - name: Benedikt Peetz
-        email: "benedikt.peetz@b-peetz.de"
+      - name: "%INIT_AUTHOR_NAME"
+        email: "%INIT_AUTHOR_EMAIL"
 
     template: |
       TODO 2024 - [year] (C) by [name of author]
diff --git a/templates/shell/LICENSE.spdx b/templates/shell/LICENSE.spdx
index ecb7d83..72ea9a5 100644
--- a/templates/shell/LICENSE.spdx
+++ b/templates/shell/LICENSE.spdx
@@ -1,7 +1,7 @@
 SPDXVersion: SPDX-2.3
 DataLicense: CC0-1.0
-Creator: TODO
-PackageName: TODO
-PackageOriginator: TODO
-PackageHomePage: TODO
+Creator: flake template init
+PackageName: %INIT_APPLICATION_NAME
+PackageOriginator: %INIT_APPLICATION_ORIGINATOR
+PackageHomePage: %INIT_APPLICATION_HOME_PAGE
 PackageLicenseDeclared: GPL-3.0-or-later
diff --git a/templates/shell/README.md b/templates/shell/README.md
index 5912c16..79f2a41 100644
--- a/templates/shell/README.md
+++ b/templates/shell/README.md
@@ -1,4 +1,5 @@
-# TODO
+# %INIT_APPLICATION_NAME_STYLIZED
+> %INIT_DESCRIPTION
 
 Some text about the project.
 
diff --git a/templates/shell/cog.toml b/templates/shell/cog.toml
index ff2c110..ccca764 100644
--- a/templates/shell/cog.toml
+++ b/templates/shell/cog.toml
@@ -18,7 +18,7 @@ post_bump_hooks = [
 [changelog]
 path = "NEWS.md"
 template = "remote"
-remote = "TODO"
-repository = "TODO"
-owner = "TODO"
-authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }]
+remote = "%INIT_REMOTE"
+repository = "%INIT_REPOSITORY"
+owner = "%INIT_OWNER"
+authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
diff --git a/templates/shell/flake.nix b/templates/shell/flake.nix
index 4025fbe..7f3cfd2 100644
--- a/templates/shell/flake.nix
+++ b/templates/shell/flake.nix
@@ -1,5 +1,5 @@
 {
-  description = "TODO";
+  description = "%INIT_DESCRIPTION";
 
   inputs = {
     nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";