2018-04-01 13:04:29 +01:00
|
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2018-09-05 00:02:06 +01:00
|
|
|
|
, setuptools-git, pytest }:
|
2018-04-01 13:04:29 +01:00
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "pytest-fixture-config";
|
2018-04-04 19:15:16 +01:00
|
|
|
|
version = "1.3.0";
|
2018-04-01 13:04:29 +01:00
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
2018-04-04 19:15:16 +01:00
|
|
|
|
sha256 = "1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08";
|
2018-04-01 13:04:29 +01:00
|
|
|
|
};
|
|
|
|
|
|
2018-04-07 13:51:26 +01:00
|
|
|
|
nativeBuildInputs = [ setuptools-git ];
|
|
|
|
|
|
2018-04-01 13:04:29 +01:00
|
|
|
|
buildInputs = [ pytest ];
|
2018-04-07 13:51:26 +01:00
|
|
|
|
|
2018-09-05 00:02:06 +01:00
|
|
|
|
doCheck = false;
|
2018-04-01 13:04:29 +01: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 ];
|
|
|
|
|
};
|
|
|
|
|
}
|