depot/third_party/nixpkgs/pkgs/by-name/ji/jikken/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

39 lines
980 B
Nix

{
apple-sdk_15,
stdenv,
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "jikken";
version = "0.8.1";
src = fetchFromGitHub {
owner = "jikkenio";
repo = "jikken";
rev = "v${version}";
hash = "sha256-WJxrCCDe39RYwHb+zbr7ugFsFsP5Uc/arw3s6USQoN4=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-8GulTGiXMgG0ysrRwv5CbS3AKCM3FpieNiJW2pZnEx4=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_15 ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "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";
};
}