@@ -1,17 +1,21 @@
1−{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, pythonOlder
25, defusedxml
3−, pytest }:
6+, pytestCheckHook
7+}:
48
59buildPythonPackage rec {
610 pname = "python-didl-lite";
7− version = "1.2.5";
11+ version = "1.2.6";
812 disabled = pythonOlder "3.5.3";
913
1014 src = fetchFromGitHub {
1115 owner = "StevenLooman";
1216 repo = pname;
1317 rev = version;
14− sha256 = "0wm831g8k9xahw20y0461cvy6lp45sxppicxah1rg9isdc3vy3nh";
18+ sha256 = "sha256-1rr26dnV5As15HeFLWEDBDYPiRDHkGfYOYFhSJi7iyU=";
1519 };
1620
1721 propagatedBuildInputs = [
@@ -19,12 +23,10 @@ buildPythonPackage rec {
1923 ];
2024
2125 checkInputs = [
22− pytest
26+ pytestCheckHook
2327 ];
2428
25− checkPhase = ''
26− py.test
27− '';
29+ pythonImportsCheck = [ "didl_lite" ];
2830
2931 meta = with lib; {
3032 description = "DIDL-Lite (Digital Item Declaration Language) tools for Python";