From ac442d3813d8338e7e4c7389a5c980c1f66799d4 Mon Sep 17 00:00:00 2001 From: Greg Burd Date: Tue, 12 Sep 2023 10:47:30 -0400 Subject: [PATCH] niceties --- .editorconfig | 33 ++++++++++++++++++++++++++++++ .envrc | 3 +++ .gitattributes | 3 +++ .github/CODEOWNERS | 0 .gitignore | 51 ++++++++++++++++++++++++++++++++++++++++++++++ LICENSE | 22 ++++++++++++++++++++ devshell.toml | 2 ++ flake.lock | 26 +++++++++++++++++++++++ 8 files changed, 140 insertions(+) create mode 100644 .editorconfig create mode 100644 .envrc create mode 100644 .gitattributes create mode 100644 .github/CODEOWNERS create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 devshell.toml create mode 100644 flake.lock diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..de3ce30 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,33 @@ +# Editor configuration, see http://editorconfig.org +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 +indent_style = tab +indent_size = 4 + +# Ignore diffs/patches +[*.{diff,patch}] +end_of_line = unset +insert_final_newline = unset +trim_trailing_whitespace = unset +indent_size = unset + +[{.*,secrets}/**] +end_of_line = unset +insert_final_newline = unset +trim_trailing_whitespace = unset +charset = unset +indent_style = unset +indent_size = unset + +[*.py] +indent_size = 4 + +[*.md] +max_line_length = off +trim_trailing_whitespace = false + diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..f4a9a94 --- /dev/null +++ b/.envrc @@ -0,0 +1,3 @@ +watch_file devShell.nix shell.nix flake.nix +use flake || use nix + diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..206de48 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +configure.ac ident +.git* export-ignore +/doc/drafts/draft-*.xml export-ignore diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..65b74e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,51 @@ +# for Unix/Linux +*~ +*.o +*.la +*.lo +*.so +*.a + +# for MacOS/X +*.dylib +*.dSYM +.DS_Store + +# for Windows +*.exe +*.obj +*.dll +*.exp +*.pdb +lib*.lib +lib*.dll +resource.RES +resource.rc +*_.RES +*_.rc +*0000.bin +*.ilk + +# Nix +result + +# Misc +*.eml +*.patch +*.orig +*.rej +*.swp + +*.tmp +.libs +.links +.direnv + +version.c + +Makefile +/config.status +/config.log +/include/stamp-h? +/libtool +/stamp-h diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..aa0825f --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +Unlicense: + +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or distribute this +software, either in source code form or as a compiled binary, for any purpose, +commercial or non-commercial, and by any means. + +In jurisdictions that recognize copyright laws, the author or authors of this +software dedicate any and all copyright interest in the software to the public +domain. We make this dedication for the benefit of the public at large and to +the detriment of our heirs and successors. We intend this dedication to be an +overt act of relinquishment in perpetuity of all present and future rights to +this software under copyright law. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/devshell.toml b/devshell.toml new file mode 100644 index 0000000..aac9574 --- /dev/null +++ b/devshell.toml @@ -0,0 +1,2 @@ +[devshell] +packages = [ ] # single-quoted, comma separated list of packages diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..4301e9d --- /dev/null +++ b/flake.lock @@ -0,0 +1,26 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1659914493, + "narHash": "sha256-lkA5X3VNMKirvA+SUzvEhfA7XquWLci+CGi505YFAIs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "022caabb5f2265ad4006c1fa5b1ebe69fb0c3faf", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-21.05", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +}