python3Packages.python-didl-lite: 1.2.5 -> 1.2.6

This commit is contained in:
Fabian Affolter 2021-04-01 01:09:03 +02:00
parent a1d64d9419
commit 5793c947c9
1 changed files with 10 additions and 8 deletions

View File

@ -1,17 +1,21 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder { lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, defusedxml , defusedxml
, pytest }: , pytestCheckHook
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-didl-lite"; pname = "python-didl-lite";
version = "1.2.5"; version = "1.2.6";
disabled = pythonOlder "3.5.3"; disabled = pythonOlder "3.5.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "StevenLooman"; owner = "StevenLooman";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0wm831g8k9xahw20y0461cvy6lp45sxppicxah1rg9isdc3vy3nh"; sha256 = "sha256-1rr26dnV5As15HeFLWEDBDYPiRDHkGfYOYFhSJi7iyU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -19,12 +23,10 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
pytest pytestCheckHook
]; ];
checkPhase = '' pythonImportsCheck = [ "didl_lite" ];
py.test
'';
meta = with lib; { meta = with lib; {
description = "DIDL-Lite (Digital Item Declaration Language) tools for Python"; description = "DIDL-Lite (Digital Item Declaration Language) tools for Python";