python3Packages.sabyenc3: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-03-12 10:57:26 +01:00 committed by GitHub
parent c2d7363d36
commit ca612cf5ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,22 +1,32 @@
{ lib, fetchPypi, python3Packages }: { lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:
python3Packages.buildPythonPackage rec { buildPythonPackage rec {
pname = "sabyenc3"; pname = "sabyenc3";
version = "5.1.0"; version = "5.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-y2I/kSyPIPSz7PrwW/AbP4BsEXHWQgXRb1VT0nTHQcE="; hash = "sha256-y2I/kSyPIPSz7PrwW/AbP4BsEXHWQgXRb1VT0nTHQcE=";
}; };
# tests are not included in pypi distribution # Tests are not included in pypi distribution
doCheck = false; doCheck = false;
meta = { pythonImportsCheck = [
"sabyenc3"
];
meta = with lib; {
description = "yEnc Decoding for Python 3"; description = "yEnc Decoding for Python 3";
homepage = "https://github.com/sabnzbd/sabyenc/"; homepage = "https://github.com/sabnzbd/sabyenc/";
license = lib.licenses.lgpl3; license = licenses.lgpl3Plus;
maintainers = [ lib.maintainers.lovek323 ]; maintainers = with maintainers; [ lovek323 ];
}; };
} }