mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
34 lines
730 B
Nix
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 ];
|
|
};
|
|
}
|