-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsideko.nix
33 lines (28 loc) · 815 Bytes
/
sideko.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# [sideko](https://github.com/Sideko-Inc/sideko) is a tool to generate SDKs and docs for APIs
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "sideko";
version = "0.1.4";
src = fetchFromGitHub {
owner = "Sideko-Inc";
repo = "sideko";
rev = "v${version}";
hash = "sha256-T9XDDK1acx1OvFiW8UUx2w3jbQv1AezB9DKW7qe7Syw=";
};
cargoHash = "sha256-8noAmup6DQbVfV4qaZ8NawjxY8ILwYjpG+S1nr3NgDM=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "Generate SDKs for your API";
homepage = "https://github.com/Sideko-Inc/sideko";
license = licenses.elastic20;
maintainers = with maintainers; [ jpetrucciani ];
mainProgram = "sideko";
};
}