mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
jikken: init at 0.7.1 (#305885)
This commit is contained in:
parent
b172a41aea
commit
4c85d13a3a
43
pkgs/by-name/ji/jikken/package.nix
Normal file
43
pkgs/by-name/ji/jikken/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user