Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ji / jikken / package.nix
blobaa4ab81845781efad5768575a1c3170f6e5548f8
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   nix-update-script,
6   pkg-config,
7   openssl,
8   stdenv,
9   darwin,
11 rustPlatform.buildRustPackage rec {
12   pname = "jikken";
13   version = "0.7.2";
15   src = fetchFromGitHub {
16     owner = "jikkenio";
17     repo = "jikken";
18     rev = "v${version}";
19     hash = "sha256-bV9NjwTcX1euk8zRJMGkAULegQmiT8z4jxngOwOPr+M=";
20   };
22   cargoHash = "sha256-gJg/l7L19qk6DELqo4fYc2ZWTHqKeUFEF3YU3+uyFjQ=";
24   nativeBuildInputs = [ pkg-config ];
26   buildInputs =
27     [ openssl ]
28     ++ lib.optionals stdenv.isDarwin [
29       darwin.apple_sdk_11_0.frameworks.IOKit
30       darwin.apple_sdk_11_0.frameworks.Security
31       darwin.apple_sdk_11_0.frameworks.SystemConfiguration
32     ];
34   passthru.updateScript = nix-update-script { };
36   meta = with lib; {
37     description = "Powerful, source control friendly REST API testing toolkit";
38     homepage = "https://jikken.io/";
39     changelog = "https://github.com/jikkenio/jikken/blob/${src.rev}/CHANGELOG.md";
40     license = licenses.mit;
41     maintainers = with maintainers; [ vinnymeller ];
42     mainProgram = "jk";
43   };