depot/third_party/nixpkgs/pkgs/development/python-modules/sabyenc3/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

32 lines
631 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:
buildPythonPackage rec {
pname = "sabyenc3";
version = "5.4.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-89ZfKnC8sT7xvq4P9rs7aa2uGElwNfjNT/5OWvGqL0E=";
};
# 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 ];
};
}