nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchCrate,
5 versionCheckHook,
6 nix-update-script,
7}:
8
9rustPlatform.buildRustPackage (finalAttrs: {
10 pname = "jen";
11 version = "1.7.1";
12
13 src = fetchCrate {
14 inherit (finalAttrs) pname version;
15 hash = "sha256-dRUIyy4aQRwofZ/zWOHThclfxxrpXGWHruqg2Pp2BtQ=";
16 };
17
18 cargoHash = "sha256-2c4XHA8fl2BA/Qtz+Hp29SjiWqPEJEj4WQiIFG/O4fE=";
19
20 nativeInstallCheckInputs = [
21 versionCheckHook
22 ];
23 doInstallCheck = true;
24
25 passthru = {
26 updateScript = nix-update-script { };
27 };
28
29 meta = {
30 description = "Simple CLI generation tool for creating large datasets";
31 mainProgram = "jen";
32 homepage = "https://github.com/whitfin/jen";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ liberodark ];
35 };
36})