From 1eb8bc6a06631a4770d6c92315909b87d40a5152 Mon Sep 17 00:00:00 2001 From: Austin Platt Date: Mon, 13 Mar 2023 09:46:15 +0000 Subject: [PATCH 1/2] maintainers: add austin-artificial --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 92173831978d..a6f64d26c7a2 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1469,6 +1469,12 @@ githubId = 574938; name = "Jonathan Glines"; }; + austin-artificial = { + email = "austin.platt@artificial.io"; + github = "austin-artificial"; + githubId = 126663376; + name = "Austin Platt"; + }; austinbutler = { email = "austinabutler@gmail.com"; github = "austinbutler"; From 0f695a44a5f9512f82192f12a875a3213dbb7030 Mon Sep 17 00:00:00 2001 From: Austin Platt Date: Mon, 13 Mar 2023 09:46:45 +0000 Subject: [PATCH 2/2] mermerd: init at 0.6.1 --- .../tools/database/mermerd/default.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/tools/database/mermerd/default.nix diff --git a/pkgs/development/tools/database/mermerd/default.nix b/pkgs/development/tools/database/mermerd/default.nix new file mode 100644 index 000000000000..53291e2e0a03 --- /dev/null +++ b/pkgs/development/tools/database/mermerd/default.nix @@ -0,0 +1,30 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "mermerd"; + version = "0.6.1"; + + src = fetchFromGitHub { + owner = "KarnerTh"; + repo = "mermerd"; + rev = "refs/tags/v${version}"; + hash = "sha256-8GXI5UEDGx5E+YzcAoguvKeNTwpC5ftReIvrKGg31ZA="; + }; + + vendorHash = "sha256-RSCpkQymvUvY2bOkjhsyKnDa3vezUjC33Nwv0+O4OOQ="; + + # the tests expect a database to be running + doCheck = false; + + meta = with lib; { + description = "Create Mermaid-Js ERD diagrams from existing tables"; + homepage = "https://github.com/KarnerTh/mermerd"; + license = licenses.mit; + maintainers = with lib.maintainers; [ austin-artificial ]; + changelog = "https://github.com/KarnerTh/mermerd/releases/tag/v${version}"; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3922e04e8527..5a2ce8810708 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18439,6 +18439,8 @@ with pkgs; meraki-cli = python3Packages.callPackage ../tools/admin/meraki-cli { }; + mermerd = callPackage ../development/tools/database/mermerd { }; + python-matter-server = with python3Packages; toPythonApplication python-matter-server; minify = callPackage ../development/web/minify { };