1 { rustPlatform, fetchFromGitHub, lib, stdenv, Security }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 hash = "sha256-tJLx/dts7C5yupJX2jkRiAQumlPtlg2HzFx11jQczzE=";
14 buildInputs = lib.optional stdenv.isDarwin Security;
16 cargoHash = "sha256-LMdi1Xx6Tq8q+DQHpNDwmtQO+8hiVXjEP7fDIpbN2DU=";
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;