8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
24 lines
511 B
Nix
24 lines
511 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "characteristic";
|
|
version = "14.3.0";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ded68d4e424115ed44e5c83c2a901a0b6157a959079d7591d92106ffd3ada380";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Python attributes without boilerplate";
|
|
homepage = "https://characteristic.readthedocs.org";
|
|
};
|
|
}
|