diff options
| author | danielalvsaaker <30574112+danielalvsaaker@users.noreply.github.com> | 2024-06-24 16:10:55 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-06-25 17:59:03 +0000 |
| commit | d6eb5d864009bc1c715b1aceaa38a194bb0589c5 (patch) | |
| tree | f15635b85c02a983d2edb7c63064f74c51c445a3 | |
| parent | maintainers: add danielalvsaaker (diff) | |
| download | nixpkgs-d6eb5d864009bc1c715b1aceaa38a194bb0589c5.tar.gz | |
azurite: init at 3.31.0
(cherry picked from commit 8eed63c05e466c14818687a17203d8bdd42edff9)
| -rw-r--r-- | pkgs/by-name/az/azurite/package.nix | 40 |
1 files changed, 40 insertions, 0 deletions
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"; + }; +} |
