diff options
author | figsoda <figsoda@pm.me> | 2023-05-20 22:51:24 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-05-20 22:54:09 -0400 |
commit | 6a4959cd8ed4647083a9743d6ac7a3eec6a8f223 (patch) | |
tree | 5ea43e72e7943aa8735ec58193aa662c0472c92e /pkgs/tools/text | |
parent | dd816a74ce84f55e2e6d99a2909b607fe5ddfce5 (diff) |
jen: init at 1.6.0
https://github.com/whitfin/jen
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/jen/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/text/jen/default.nix b/pkgs/tools/text/jen/default.nix new file mode 100644 index 0000000000000..2361c1aafc1b7 --- /dev/null +++ b/pkgs/tools/text/jen/default.nix @@ -0,0 +1,29 @@ +{ 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 = "A simple CLI generation tool for creating large datasets"; + homepage = "https://github.com/whitfin/jen"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; +} |