159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
32 lines
655 B
Nix
32 lines
655 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
sabnzbd,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "sabctools";
|
|
version = "8.2.5";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ZEC813/JpGPEFL+nXKFAXFfUrrhECCIqONe27LwS00g=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|