1 { rustPlatform, fetchFromGitHub, lib, stdenv, Security }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 hash = "sha256-X2cuJH6MzcA/eEGPVxdMbYkrX3o28i0wR6DP0skf2+o=";
14 buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
16 cargoHash = "sha256-3wkO4w66FJ996cahLvP8wFQSL4RKuw5959qo9rlbTcY=";
19 "--package viceroy-lib"
23 description = "Viceroy provides local testing for developers working with Compute@Edge";
24 mainProgram = "viceroy";
25 homepage = "https://github.com/fastly/Viceroy";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ ereslibre shyim ];
28 platforms = platforms.unix;