nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 grpcio,
6 pytest,
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-grpc";
11 version = "0.8.0";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-C9JoP/00GZRE1wfAqwGXCyLgr7umyx3bbVeMhev+Cb0=";
17 };
18
19 buildInputs = [ pytest ];
20
21 propagatedBuildInputs = [ grpcio ];
22
23 meta = {
24 description = "Pytest plugin for grpc";
25 homepage = "https://github.com/MobileDynasty/pytest-env";
26 license = lib.licenses.mit;
27 };
28}