summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/queuelib/default.nix
blob: cceb070f3c345bc1392dac184ff76fa36ea7bcd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchPypi,
  hatchling,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "queuelib";
  version = "1.8.0";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-WCvGVRRIEQCwU5vWcdprNVuHiGnPx32Sxjt1/MnPjic=";
  };

  build-system = [ hatchling ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "queuelib" ];

  meta = {
    description = "Collection of persistent (disk-based) queues for Python";
    homepage = "https://github.com/scrapy/queuelib";
    changelog = "https://github.com/scrapy/queuelib/releases/tag/v${version}";
    license = lib.licenses.bsd3;
    maintainers = [ ];
  };
}