ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / characteristic / default.nix
blob2e12077bd5627e233c282e1c1581caee26b99f44
1 { buildPythonPackage
2 , fetchPypi
3 , pytest
4 }:
6 buildPythonPackage rec {
7   pname = "characteristic";
8   version = "14.3.0";
9   src = fetchPypi {
10     inherit pname version;
11     sha256 = "ded68d4e424115ed44e5c83c2a901a0b6157a959079d7591d92106ffd3ada380";
12   };
14   checkInputs = [ pytest ];
16   postPatch = ''
17     substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
18   '';
20   meta = {
21     description = "Python attributes without boilerplate";
22     homepage = "https://characteristic.readthedocs.org";
23   };