blob: 3b2481f49c3344984cbad9298b2f3071c2d89c34 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
rustPlatform,
fetchFromGitHub,
lib,
stdenv,
Security,
}:
rustPlatform.buildRustPackage rec {
pname = "viceroy";
version = "0.12.3";
src = fetchFromGitHub {
owner = "fastly";
repo = pname;
rev = "v${version}";
hash = "sha256-NmXBD/BEQnAH4ES5SYwf8fInC4k++JX2OIhvusLlmG8=";
};
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
useFetchCargoVendor = true;
cargoHash = "sha256-vWbPpU3SWkS2ayp1Dr3L/GDqtjKx21KXt+vF9ViHKzc=";
cargoTestFlags = [
"--package viceroy-lib"
];
meta = with lib; {
description = "Viceroy provides local testing for developers working with Compute@Edge";
mainProgram = "viceroy";
homepage = "https://github.com/fastly/Viceroy";
license = licenses.asl20;
maintainers = with maintainers; [
ereslibre
shyim
];
platforms = platforms.unix;
};
}
|