nixpkgs-suyu/pkgs/development/python-modules/pytest-pythonpath/default.nix
2020-08-15 01:00:30 -07:00

26 lines
624 B
Nix

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