nixpkgs/pkgs/by-name/ji/jikken/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.1 KiB
Nix
Raw Normal View History

2024-05-02 17:22:14 +00:00
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
pkg-config,
openssl,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "jikken";
2024-09-27 11:54:43 +00:00
version = "0.8.0";
2024-05-02 17:22:14 +00:00
src = fetchFromGitHub {
owner = "jikkenio";
repo = "jikken";
rev = "v${version}";
2024-09-27 11:54:43 +00:00
hash = "sha256-e1n5Q1bF/n9ELA93ucdaIeXx3LPhd7cWkLxWRRdGlo4=";
2024-05-02 17:22:14 +00:00
};
2024-09-27 11:54:43 +00:00
cargoHash = "sha256-DALY88q5xsjnoaGJxnVWx/5v4yE80+HNGT/vdFdzkXk=";
2024-05-02 17:22:14 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
2024-05-18 19:19:24 +00:00
darwin.apple_sdk_11_0.frameworks.IOKit
darwin.apple_sdk_11_0.frameworks.Security
darwin.apple_sdk_11_0.frameworks.SystemConfiguration
2024-05-02 17:22:14 +00:00
];
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";
};
}