mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
Merge pull request #322187 from danielalvsaaker/azurite
azurite: init at 3.31.0
This commit is contained in:
commit
3dcdd85492
2 changed files with 46 additions and 0 deletions
|
@ -4335,6 +4335,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";
|
||||
|
|
40
pkgs/by-name/az/azurite/package.nix
Normal file
40
pkgs/by-name/az/azurite/package.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue