f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
32 lines
655 B
Nix
32 lines
655 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
sabnzbd,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "sabctools";
|
|
version = "8.2.4";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-qPi/+Q+xLm+djlYeTXyVi3q/R1zEtXgOY7wxLjnp7Ew=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "sabctools" ];
|
|
|
|
passthru.tests = {
|
|
inherit sabnzbd;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "C implementations of functions for use within SABnzbd";
|
|
homepage = "https://github.com/sabnzbd/sabctools";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ adamcstephens ];
|
|
};
|
|
}
|