3
0
Fork 0
forked from mirrors/nixpkgs

viceroy: init at 0.3.5

This commit is contained in:
Rafael Fernández López 2023-03-07 21:56:48 +01:00 committed by Profpatsch
parent 99356c98d6
commit ad075bd915
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ 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;
};
}

View file

@ -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 { };