Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sabctools / default.nix
blobd20ea731862040b2cf24634ce73aebb7817afd3b
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   sabnzbd,
6 }:
7 buildPythonPackage rec {
8   pname = "sabctools";
9   version = "7.1.2"; # needs to match version sabnzbd expects, e.g. https://github.com/sabnzbd/sabnzbd/blob/4.0.x/requirements.txt#L3
10   format = "setuptools";
12   src = fetchPypi {
13     inherit pname version;
14     hash = "sha256-wDgFXuxclmqMlRXyr9qpruJJcOXfOiOWTZXX53uYEB8=";
15   };
17   pythonImportsCheck = ["sabctools"];
19   passthru.tests = {inherit sabnzbd;};
21   meta = with lib; {
22     description = "C implementations of functions for use within SABnzbd";
23     homepage = "https://github.com/sabnzbd/sabctools";
24     license = licenses.gpl2Only;
25     maintainers = with maintainers; [adamcstephens];
26   };