about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-fixture-config/default.nix
blob: df700526d1b49ad7fe0bcba574aa9540dc3877e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, buildPythonPackage, fetchPypi
, setuptools-git, pytest, six }:

buildPythonPackage rec {
  pname = "pytest-fixture-config";
  version = "1.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08";
  };

  nativeBuildInputs = [ setuptools-git ];

  buildInputs = [ pytest ];

  checkInputs = [ six ];

  checkPhase = ''
    py.test
  '';

  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 ];
  };
}