forked from mirrors/nixpkgs
viceroy: init at 0.3.5
This commit is contained in:
parent
99356c98d6
commit
ad075bd915
29
pkgs/development/tools/viceroy/default.nix
Normal file
29
pkgs/development/tools/viceroy/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue