about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-pythonpath/default.nix
blob: 8c3fb48b430e68a02f290370192b252f4c012d37 (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
{ buildPythonPackage, fetchPypi, lib, pytest }:

buildPythonPackage rec {
  pname = "pytest-pythonpath";
  version = "0.7.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-ZOGVsjqPjAxjH7Fogtmtb6QTftHylh3dFdUgZc1DXbY=";
  };

  buildInputs = [ pytest ];
  checkInputs = [ pytest ];

  checkPhase = ''
    pytest
  '';

  meta = with lib; {
    description =
      "Pytest plugin for adding to the PYTHONPATH from command line or configs";
    homepage = "https://github.com/bigsassy/pytest-pythonpath";
    maintainers = with maintainers; [ cript0nauta ];
    license = licenses.mit;
  };
}