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