2018-07-21 02:44:44 +02:00
|
|
|
{ buildPythonPackage
|
2017-06-07 17:13:39 +02:00
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "characteristic";
|
|
|
|
version = "14.3.0";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "ded68d4e424115ed44e5c83c2a901a0b6157a959079d7591d92106ffd3ada380";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
2019-02-14 11:51:52 +01:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
|
|
|
|
'';
|
|
|
|
|
2017-06-07 17:13:39 +02:00
|
|
|
meta = {
|
|
|
|
description = "Python attributes without boilerplate";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://characteristic.readthedocs.org";
|
2017-06-07 17:13:39 +02:00
|
|
|
};
|
|
|
|
}
|