about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 23:40:32 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-01 00:00:04 +0200
commit6df2ef639806567bf7ef9b3b50bef08b9cfb7e3a (patch)
tree60b33e862c20f8aff56949d40b197aec71eedb91
parentfeat(shell): Update to my new SOTA (diff)
downloadflake-templates-6df2ef639806567bf7ef9b3b50bef08b9cfb7e3a.tar.gz
flake-templates-6df2ef639806567bf7ef9b3b50bef08b9cfb7e3a.zip
refactor({python,markdown}): Also move them to the templates diretory
Diffstat (limited to '')
-rw-r--r--markdown/cog.toml28
-rw-r--r--templates/unmaintained/markdown/.envrc (renamed from markdown/.envrc)0
-rw-r--r--templates/unmaintained/markdown/.gitignore (renamed from markdown/.gitignore)0
-rw-r--r--templates/unmaintained/markdown/LICENSE (renamed from markdown/LICENSE)0
-rw-r--r--templates/unmaintained/markdown/LICENSE.spdx (renamed from markdown/LICENSE.spdx)0
-rw-r--r--templates/unmaintained/markdown/cog.toml26
-rw-r--r--templates/unmaintained/markdown/flake.nix (renamed from markdown/flake.nix)0
-rw-r--r--templates/unmaintained/markdown/scr/TODO.md (renamed from markdown/scr/TODO.md)1
-rw-r--r--templates/unmaintained/nannou/shell.nix25
-rw-r--r--templates/unmaintained/python/.envrc (renamed from python/.envrc)0
-rw-r--r--templates/unmaintained/python/.gitignore (renamed from python/.gitignore)0
-rw-r--r--templates/unmaintained/python/COPYING (renamed from python/COPYING)0
-rw-r--r--templates/unmaintained/python/LICENSE.spdx (renamed from python/LICENSE.spdx)0
-rw-r--r--templates/unmaintained/python/README.md (renamed from python/README.md)0
-rwxr-xr-xtemplates/unmaintained/python/TODO/__init__.py (renamed from python/TODO/__init__.py)1
-rw-r--r--templates/unmaintained/python/cog.toml (renamed from python/cog.toml)10
-rw-r--r--templates/unmaintained/python/flake.nix (renamed from python/flake.nix)0
-rw-r--r--templates/unmaintained/python/requirements.txt (renamed from python/requirements.txt)0
-rw-r--r--templates/unmaintained/python/setup.cfg (renamed from python/setup.cfg)0
-rw-r--r--templates/unmaintained/python/setup.py (renamed from python/setup.py)0
20 files changed, 56 insertions, 35 deletions
diff --git a/markdown/cog.toml b/markdown/cog.toml
deleted file mode 100644
index 316fb11..0000000
--- a/markdown/cog.toml
+++ /dev/null
@@ -1,28 +0,0 @@
-from_latest_tag = false
-tag_prefix = "v"
-ignore_merge_commits = false
-pre_package_bump_hooks = []
-post_package_bump_hooks = []
-
-branch_whitelist = [
-  "prime",
-]
-
-pre_bump_hooks = [
-    "nix build", # verify the project builds
-    "flake_version_update --version v{{version}} --input-file flake.nix",
-]
-post_bump_hooks = [
-    "git push",
-    "git push origin v{{version}}", # push the new tag to origin
-]
-
-[commit_types]
-
-[changelog]
-path = "NEWS.md"
-authors = []
-
-[bump_profiles]
-
-[packages]
diff --git a/markdown/.envrc b/templates/unmaintained/markdown/.envrc
index 3550a30..3550a30 100644
--- a/markdown/.envrc
+++ b/templates/unmaintained/markdown/.envrc
diff --git a/markdown/.gitignore b/templates/unmaintained/markdown/.gitignore
index aad77ec..aad77ec 100644
--- a/markdown/.gitignore
+++ b/templates/unmaintained/markdown/.gitignore
diff --git a/markdown/LICENSE b/templates/unmaintained/markdown/LICENSE
index dbb2b35..dbb2b35 100644
--- a/markdown/LICENSE
+++ b/templates/unmaintained/markdown/LICENSE
diff --git a/markdown/LICENSE.spdx b/templates/unmaintained/markdown/LICENSE.spdx
index 082e0dc..082e0dc 100644
--- a/markdown/LICENSE.spdx
+++ b/templates/unmaintained/markdown/LICENSE.spdx
diff --git a/templates/unmaintained/markdown/cog.toml b/templates/unmaintained/markdown/cog.toml
new file mode 100644
index 0000000..2b049c7
--- /dev/null
+++ b/templates/unmaintained/markdown/cog.toml
@@ -0,0 +1,26 @@
+from_latest_tag = false
+tag_prefix = "v"
+ignore_merge_commits = false
+pre_package_bump_hooks = []
+post_package_bump_hooks = []
+
+branch_whitelist = ["prime"]
+
+pre_bump_hooks = [
+  "nix build",                                                          # verify the project builds
+  "flake_version_update --version v{{version}} --input-file flake.nix",
+]
+post_bump_hooks = [
+  "git push",
+  "git push origin v{{version}}", # push the new tag to origin
+]
+
+[commit_types]
+
+[changelog]
+path = "NEWS.md"
+authors = []
+
+[bump_profiles]
+
+[packages]
diff --git a/markdown/flake.nix b/templates/unmaintained/markdown/flake.nix
index 598b4fe..598b4fe 100644
--- a/markdown/flake.nix
+++ b/templates/unmaintained/markdown/flake.nix
diff --git a/markdown/scr/TODO.md b/templates/unmaintained/markdown/scr/TODO.md
index a51444f..fb27d31 100644
--- a/markdown/scr/TODO.md
+++ b/templates/unmaintained/markdown/scr/TODO.md
@@ -1,2 +1,3 @@
 <!-- LTeX: language=en-US -->
+
 Hello world!
diff --git a/templates/unmaintained/nannou/shell.nix b/templates/unmaintained/nannou/shell.nix
new file mode 100644
index 0000000..6c4550a
--- /dev/null
+++ b/templates/unmaintained/nannou/shell.nix
@@ -0,0 +1,25 @@
+#  A Creative Coding Framework for Rust.
+{
+  pkgs ? import <nixpkgs> {},
+  extraPkgs ? [],
+}:
+pkgs.mkShell {
+  buildInputs = with pkgs;
+    [
+      cargo
+      rustc
+      pkg-config
+      alsa-lib
+      cmake
+      openssl
+      xorg.libxcb
+    ]
+    ++ extraPkgs;
+  LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [
+    xorg.libX11
+    xorg.libXcursor
+    xorg.libXrandr
+    xorg.libXi
+    vulkan-loader
+  ]);
+}
diff --git a/python/.envrc b/templates/unmaintained/python/.envrc
index 958a322..958a322 100644
--- a/python/.envrc
+++ b/templates/unmaintained/python/.envrc
diff --git a/python/.gitignore b/templates/unmaintained/python/.gitignore
index 9ae393f..9ae393f 100644
--- a/python/.gitignore
+++ b/templates/unmaintained/python/.gitignore
diff --git a/python/COPYING b/templates/unmaintained/python/COPYING
index f288702..f288702 100644
--- a/python/COPYING
+++ b/templates/unmaintained/python/COPYING
diff --git a/python/LICENSE.spdx b/templates/unmaintained/python/LICENSE.spdx
index ecb7d83..ecb7d83 100644
--- a/python/LICENSE.spdx
+++ b/templates/unmaintained/python/LICENSE.spdx
diff --git a/python/README.md b/templates/unmaintained/python/README.md
index aa95851..aa95851 100644
--- a/python/README.md
+++ b/templates/unmaintained/python/README.md
diff --git a/python/TODO/__init__.py b/templates/unmaintained/python/TODO/__init__.py
index 763fb8a..46b4ca5 100755
--- a/python/TODO/__init__.py
+++ b/templates/unmaintained/python/TODO/__init__.py
@@ -1,3 +1,2 @@
 def main():
     print("Hello world!")
-
diff --git a/python/cog.toml b/templates/unmaintained/python/cog.toml
index 2046e84..4f78064 100644
--- a/python/cog.toml
+++ b/templates/unmaintained/python/cog.toml
@@ -4,16 +4,14 @@ ignore_merge_commits = false
 pre_package_bump_hooks = []
 post_package_bump_hooks = []
 
-branch_whitelist = [
-  "prime",
-]
+branch_whitelist = ["prime"]
 
 pre_bump_hooks = [
-    "nix build", # verify the project builds
+  "nix build", # verify the project builds
 ]
 post_bump_hooks = [
-    "git push",
-    "git push origin v{{version}}", # push the new tag to origin
+  "git push",
+  "git push origin v{{version}}", # push the new tag to origin
 ]
 
 [commit_types]
diff --git a/python/flake.nix b/templates/unmaintained/python/flake.nix
index 36c7478..36c7478 100644
--- a/python/flake.nix
+++ b/templates/unmaintained/python/flake.nix
diff --git a/python/requirements.txt b/templates/unmaintained/python/requirements.txt
index e69de29..e69de29 100644
--- a/python/requirements.txt
+++ b/templates/unmaintained/python/requirements.txt
diff --git a/python/setup.cfg b/templates/unmaintained/python/setup.cfg
index 2c6d24f..2c6d24f 100644
--- a/python/setup.cfg
+++ b/templates/unmaintained/python/setup.cfg
diff --git a/python/setup.py b/templates/unmaintained/python/setup.py
index 6068493..6068493 100644
--- a/python/setup.py
+++ b/templates/unmaintained/python/setup.py