nixpkgs/pkgs/development/python-modules/sabctools/default.nix
2026-06-16 22:39:08 +00:00

34 lines
730 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
sabnzbd,
}:
buildPythonPackage rec {
pname = "sabctools";
version = "9.4.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-MU2vgWX7ojy5OYllEJTHrz9z7mvrJq3mrfRUM2jQ9ws=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "sabctools" ];
passthru.tests = {
inherit sabnzbd;
};
meta = {
description = "C implementations of functions for use within SABnzbd";
homepage = "https://github.com/sabnzbd/sabctools";
changelog = "https://github.com/sabnzbd/sabctools/releases/tag/v${version}";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ adamcstephens ];
};
}