depot/third_party/nixpkgs/pkgs/development/python-modules/sabyenc3/default.nix
Default email d56f44df06 Project import generated by Copybara.
GitOrigin-RevId: bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13
2022-04-03 20:54:34 +02:00

32 lines
631 B
Nix

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