depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-services/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

37 lines
730 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, requests
, psutil
, pytest
, subprocess32
, zc_lockfile
}:
buildPythonPackage rec {
pname = "pytest-services";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0037101eaa17e050542808ecb2e799e9b2b148f1867f62b2296329fdd2034cf5";
};
propagatedBuildInputs = [
requests
psutil
pytest
zc_lockfile
] ++ lib.optional (!isPy3k) subprocess32;
# no tests in PyPI tarball
doCheck = false;
meta = with lib; {
description = "Services plugin for pytest testing framework";
homepage = "https://github.com/pytest-dev/pytest-services";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}