1{ lib
2, rustPlatform
3, fetchCrate
4, stdenv
5, darwin
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "jen";
10 version = "1.6.0";
11
12 src = fetchCrate {
13 inherit pname version;
14 hash = "sha256-fpv/IzU23yAz1cumTbdQP6wHJX2U4acNxq8Zrx+YQVs=";
15 };
16
17 cargoHash = "sha256-LKiPG7k5UgaESP1ShsIWNMnm9resbRje746txOBo+Qs=";
18
19 buildInputs = lib.optionals stdenv.isDarwin [
20 darwin.apple_sdk.frameworks.Security
21 ];
22
23 meta = with lib; {
24 description = "A simple CLI generation tool for creating large datasets";
25 homepage = "https://github.com/whitfin/jen";
26 license = licenses.mit;
27 maintainers = with maintainers; [ figsoda ];
28 };
29}