1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "queuelib";
11 version = "1.8.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-WCvGVRRIEQCwU5vWcdprNVuHiGnPx32Sxjt1/MnPjic=";
17 };
18
19 build-system = [ hatchling ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 pythonImportsCheck = [ "queuelib" ];
24
25 meta = with lib; {
26 description = "Collection of persistent (disk-based) queues for Python";
27 homepage = "https://github.com/scrapy/queuelib";
28 changelog = "https://github.com/scrapy/queuelib/releases/tag/v${version}";
29 license = licenses.bsd3;
30 maintainers = [ ];
31 };
32}