depot/third_party/nixpkgs/pkgs/tools/text/jen/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
671 B
Nix

{ lib
, rustPlatform
, fetchCrate
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "jen";
version = "1.6.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-fpv/IzU23yAz1cumTbdQP6wHJX2U4acNxq8Zrx+YQVs=";
};
cargoHash = "sha256-LKiPG7k5UgaESP1ShsIWNMnm9resbRje746txOBo+Qs=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "Simple CLI generation tool for creating large datasets";
mainProgram = "jen";
homepage = "https://github.com/whitfin/jen";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}