1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "vine";
11 version = "5.1.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-i2LpgdNcQQSSEc9ioKEkLYwe6b0Vuxls44rv1nmeYeA=";
19 };
20
21 nativeCheckInputs = [
22 pytestCheckHook
23 ];
24
25 disabledTestPaths = [
26 # https://github.com/celery/vine/issues/106
27 "t/unit/test_synchronization.py"
28 ];
29
30 pythonImportsCheck = [ "vine" ];
31
32 meta = with lib; {
33 description = "Python promises";
34 homepage = "https://github.com/celery/vine";
35 changelog = "https://github.com/celery/vine/releases/tag/v${version}";
36 license = licenses.bsd3;
37 maintainers = with maintainers; [ fab ];
38 };
39}