lol
1{
2 lib,
3 buildNpmPackage,
4 fetchFromGitHub,
5 stdenv,
6 libsecret,
7 pkg-config,
8 python3,
9}:
10
11buildNpmPackage rec {
12 pname = "azurite";
13 version = "3.35.0";
14
15 src = fetchFromGitHub {
16 owner = "Azure";
17 repo = "Azurite";
18 rev = "v${version}";
19 hash = "sha256-sVYiHQJ3nR5vM+oPAHzr/MjuNBMY14afqCHpw32WCiQ=";
20 };
21
22 npmDepsHash = "sha256-UBHjb65Ud7IANsR30DokbI/16+dVjDEtfhqRPAQhGUw=";
23
24 nativeBuildInputs = [
25 pkg-config
26 python3
27 ];
28 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
29 libsecret
30 ];
31
32 meta = {
33 description = "Open source Azure Storage API compatible server";
34 homepage = "https://github.com/Azure/Azurite";
35 changelog = "https://github.com/Azure/Azurite/releases/tag/v${version}";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ danielalvsaaker ];
38 mainProgram = "azurite";
39 };
40}