Commit ad075bd9 authored by Rafael Fernández López's avatar Rafael Fernández López Committed by Profpatsch
Browse files

viceroy: init at 0.3.5

parent 99356c98
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
{ rustPlatform, fetchFromGitHub, lib, stdenv, Security }:

rustPlatform.buildRustPackage rec {
  pname = "viceroy";
  version = "0.3.5";

  src = fetchFromGitHub {
    owner = "fastly";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-X+RmsS+GxdBiFt2Fo0MgkuyjQDwQNuOLDL1YVQdqhXo=";
  };

  buildInputs = lib.optional stdenv.isDarwin Security;

  cargoHash = "sha256-vbhBlfHrFcjtaUJHYvB106ElYP0NquOo+rgIx9cWenY=";

  cargoTestFlags = [
    "--package viceroy-lib"
  ];

  meta = with lib; {
    description = "Viceroy provides local testing for developers working with Compute@Edge";
    homepage = "https://github.com/fastly/Viceroy";
    license = licenses.asl20;
    maintainers = with maintainers; [ ereslibre shyim ];
    platforms = platforms.unix;
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -13598,6 +13598,10 @@ with pkgs;
  veryfasttree = callPackage ../applications/science/biology/veryfasttree { };
  viceroy = callPackage ../development/tools/viceroy {
    inherit (darwin.apple_sdk.frameworks) Security;
  };
  vlan = callPackage ../tools/networking/vlan { };
  vmtouch = callPackage ../tools/misc/vmtouch { };