2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-15 17:06:15 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-08-15 23:41:26 +01:00
|
|
|
, isPy27
|
2018-10-15 17:06:15 +01:00
|
|
|
, pytest
|
2019-12-21 06:26:35 +00:00
|
|
|
, pytestcov
|
2018-10-15 17:06:15 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "venusian";
|
2019-12-19 19:31:25 +00:00
|
|
|
version = "3.0.0";
|
2020-08-15 23:41:26 +01:00
|
|
|
disabled = isPy27;
|
2018-10-15 17:06:15 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:25 +00:00
|
|
|
sha256 = "f6842b7242b1039c0c28f6feef29016e7e7dd3caaeb476a193acf737db31ee38";
|
2018-10-15 17:06:15 +01:00
|
|
|
};
|
|
|
|
|
2019-12-21 06:26:35 +00:00
|
|
|
checkInputs = [ pytest pytestcov ];
|
2018-10-15 17:06:15 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-15 17:06:15 +01:00
|
|
|
description = "A library for deferring decorator actions";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pylonsproject.org/";
|
2018-10-15 17:06:15 +01:00
|
|
|
license = licenses.bsd0;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2018-10-15 17:06:15 +01:00
|
|
|
};
|
|
|
|
}
|