From eec3d6bdf904fa5f59a795a5aa7611a6fe7d27ea Mon Sep 17 00:00:00 2001 From: danielalvsaaker <30574112+danielalvsaaker@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:56:04 +0200 Subject: [PATCH 1/2] maintainers: add danielalvsaaker --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index fce218ca723a..3250254f33c7 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4342,6 +4342,12 @@ githubId = 24708079; name = "Dan Eads"; }; + danielalvsaaker = { + email = "daniel.alvsaaker@proton.me"; + github = "danielalvsaaker"; + githubId = 30574112; + name = "Daniel Alvsåker"; + }; danielbarter = { email = "danielbarter@gmail.com"; github = "danielbarter"; From 8eed63c05e466c14818687a17203d8bdd42edff9 Mon Sep 17 00:00:00 2001 From: danielalvsaaker <30574112+danielalvsaaker@users.noreply.github.com> Date: Mon, 24 Jun 2024 16:10:55 +0200 Subject: [PATCH 2/2] azurite: init at 3.31.0 --- pkgs/by-name/az/azurite/package.nix | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/az/azurite/package.nix diff --git a/pkgs/by-name/az/azurite/package.nix b/pkgs/by-name/az/azurite/package.nix new file mode 100644 index 000000000000..8f70c247fc1e --- /dev/null +++ b/pkgs/by-name/az/azurite/package.nix @@ -0,0 +1,40 @@ +{ lib +, buildNpmPackage +, fetchFromGitHub +, stdenv +, darwin +, libsecret +, pkg-config +, python3 +}: + +buildNpmPackage rec { + pname = "azurite"; + version = "3.31.0"; + + src = fetchFromGitHub { + owner = "Azure"; + repo = "Azurite"; + rev = "v${version}"; + hash = "sha256-WT1eprN6SBnsfITCopybEHCuxrHvKEhdmVs7xL3cUi0="; + }; + + npmDepsHash = "sha256-+ptjsz2MDIB/aqu4UxkBLCcehtamFdmswNUsHs23LuE="; + + nativeBuildInputs = [ pkg-config python3 ]; + buildInputs = lib.optionals stdenv.isLinux [ + libsecret + ] ++ lib.optionals stdenv.isDarwin (with darwin; [ + Security + apple_sdk.frameworks.AppKit + ]); + + meta = { + description = "An open source Azure Storage API compatible server"; + homepage = "https://github.com/Azure/Azurite"; + changelog = "https://github.com/Azure/Azurite/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ danielalvsaaker ]; + mainProgram = "azurite"; + }; +}