depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-services/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

37 lines
730 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, requests
, psutil
, pytest
, subprocess32
, zc_lockfile
}:
buildPythonPackage rec {
pname = "pytest-services";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0848cead86d3816b9c4e37cecfda31d21a4366f0dca2313ea29f3ca375c6295d";
};
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 ];
};
}