depot/third_party/nixpkgs/pkgs/development/python-modules/sabyenc3/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

32 lines
631 B
Nix

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