nixpkgs/pkgs/development/python-modules/sabyenc3/default.nix
2022-06-14 21:51:16 -07:00

33 lines
631 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:
buildPythonPackage rec {
pname = "sabyenc3";
version = "5.4.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-6wXwmL1RCZ72KSqJgMjO3grvuDLWyMsbuU+kJmEkCmM=";
};
# 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 ];
};
}