aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pytest-pythonpath/default.nix
blob: 4194b7bd0e94cc3bbd842c6b5a2466168a30e714 (plain)
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.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0qhxh0z2b3p52v3i0za9mrmjnb1nlvvyi2g23rf88b3xrrm59z33";
  };

  propagatedBuildInputs = [ 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;
  };
}