python3Packages.pybase64: switch to pytestCheckHook
This commit is contained in:
parent
2142a0a8c9
commit
9bec0bea0a
1 changed files with 10 additions and 8 deletions
|
@ -1,26 +1,28 @@
|
|||
{ buildPythonPackage, isPy3k, lib, fetchPypi, six, pytest }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pybase64";
|
||||
version = "1.2.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9e310fcf5cfa2cbf7d1d7eb503b6066bec785216bcd1d8c0a736f59d5ec21b0b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
checkInputs = [ pytest ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
pythonImportsCheck = [ "pybase64" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.python.org/pypi/pybase64";
|
||||
description = "Fast Base64 encoding/decoding";
|
||||
homepage = "https://github.com/mayeut/pybase64";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue