2019-04-26 19:40:49 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, pytest }:
|
2018-12-14 19:53:02 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-08 10:33:07 +01:00
|
|
|
version = "0.5.1";
|
2018-12-14 19:53:02 +00:00
|
|
|
pname = "pytest-dependency";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-08 10:33:07 +01:00
|
|
|
sha256 = "c2a892906192663f85030a6ab91304e508e546cddfe557d692d61ec57a1d946b";
|
2018-12-14 19:53:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytest ];
|
|
|
|
|
2019-04-26 19:40:49 +01:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
2018-12-14 19:53:02 +00:00
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/RKrahl/pytest-dependency";
|
2018-12-14 19:53:02 +00:00
|
|
|
description = "Manage dependencies of tests";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|