mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
2cae050057
Since Python 2 is not supported anymore we only keep those overrides which are used by leaf packages.
47 lines
823 B
Nix
47 lines
823 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, requests
|
|
, psutil
|
|
, pytest
|
|
, setuptools-scm
|
|
, toml
|
|
, zc_lockfile
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-services";
|
|
version = "2.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "2da740487d08ea63dfdf718f5d4ba11e590c99ddf5481549edebf7a3a42ca536";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
toml
|
|
];
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
psutil
|
|
zc_lockfile
|
|
];
|
|
|
|
# no tests in PyPI tarball
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pytest_services" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|