Files
nixpkgs/pkgs/development/python-modules/characteristic/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
547 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
buildPythonPackage,
fetchPypi,
pytest,
}:
buildPythonPackage rec {
pname = "characteristic";
version = "14.3.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "ded68d4e424115ed44e5c83c2a901a0b6157a959079d7591d92106ffd3ada380";
};
nativeCheckInputs = [ pytest ];
postPatch = ''
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
'';
meta = {
description = "Python attributes without boilerplate";
homepage = "https://characteristic.readthedocs.org";
};
}