diff --git a/pkgs/development/python-modules/defcon/default.nix b/pkgs/development/python-modules/defcon/default.nix index 12cbdf0a210d..1cfa630337f5 100644 --- a/pkgs/development/python-modules/defcon/default.nix +++ b/pkgs/development/python-modules/defcon/default.nix @@ -1,17 +1,26 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder -, fonttools, setuptools-scm -, pytest, pytest-runner, lxml, fs, unicodedata2, fontpens +{ lib +, buildPythonPackage +, fetchPypi +, fontpens +, fonttools +, fs +, lxml +, pytestCheckHook +, pythonOlder +, setuptools-scm +, unicodedata2 }: buildPythonPackage rec { pname = "defcon"; - version = "0.10.1"; + version = "0.10.2"; + format = "setuptools"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-+nlk9xG3mOCS4xHzp54J/V+he7HNMg1aMgFeTFTrMHA="; + hash = "sha256-ruOW5taeRa5lyCZHgTktTCkRaTSyc3rXbYIwtAwYKkQ="; extension = "zip"; }; @@ -24,18 +33,21 @@ buildPythonPackage rec { ]; checkInputs = [ - pytest - pytest-runner - lxml - fs - unicodedata2 fontpens + fs + lxml + pytestCheckHook + unicodedata2 + ]; + + pythonImportsCheck = [ + "defcon" ]; meta = with lib; { description = "A set of UFO based objects for use in font editing applications"; homepage = "https://github.com/robotools/defcon"; license = licenses.mit; - maintainers = [ maintainers.sternenseemann ]; + maintainers = with maintainers; [ sternenseemann ]; }; }