2018-04-01 12:04:29 +00:00
|
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2018-04-07 12:51:26 +00:00
|
|
|
|
, setuptools-git, pytest, six }:
|
2018-04-01 12:04:29 +00:00
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "pytest-fixture-config";
|
2018-04-04 18:15:16 +00:00
|
|
|
|
version = "1.3.0";
|
2018-04-01 12:04:29 +00:00
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
2018-04-04 18:15:16 +00:00
|
|
|
|
sha256 = "1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08";
|
2018-04-01 12:04:29 +00:00
|
|
|
|
};
|
|
|
|
|
|
2018-04-07 12:51:26 +00:00
|
|
|
|
nativeBuildInputs = [ setuptools-git ];
|
|
|
|
|
|
2018-04-01 12:04:29 +00:00
|
|
|
|
buildInputs = [ pytest ];
|
2018-04-07 12:51:26 +00:00
|
|
|
|
|
|
|
|
|
checkInputs = [ six ];
|
2018-04-01 12:04:29 +00:00
|
|
|
|
|
|
|
|
|
checkPhase = ''
|
2018-04-07 12:51:26 +00:00
|
|
|
|
py.test
|
2018-04-01 12:04:29 +00:00
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "Simple configuration objects for Py.test fixtures. Allows you to skip tests when their required config variables aren’t set.";
|
|
|
|
|
homepage = https://github.com/manahl/pytest-plugins;
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
maintainers = with maintainers; [ ryansydnor ];
|
|
|
|
|
};
|
|
|
|
|
}
|