jikken: init at 0.7.1 (#305885)

This commit is contained in:
Vinny Meller 2024-05-02 13:22:14 -04:00 committed by GitHub
parent b172a41aea
commit 4c85d13a3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,43 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
pkg-config,
openssl,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "jikken";
version = "0.7.1";
src = fetchFromGitHub {
owner = "jikkenio";
repo = "jikken";
rev = "v${version}";
hash = "sha256-A6+sezhob7GqAzuJsJGH7ZDLTJhCD+f0t3zx/IMdPsI=";
};
cargoHash = "sha256-FxsI2ku52MlSGUph3/ovmn6HIwW+cUwVXuwzcd/1DV4=";
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.IOKit
darwin.apple_sdk.frameworks.Security
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A powerful, source control friendly REST API testing toolkit";
homepage = "https://jikken.io/";
changelog = "https://github.com/jikkenio/jikken/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ vinnymeller ];
mainProgram = "jk";
};
}