1{ lib
2, buildPythonPackage
3, case
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 case
23 pytestCheckHook
24 ];
25
26 pythonImportsCheck = [
27 "vine"
28 ];
29
30 meta = with lib; {
31 description = "Python promises";
32 homepage = "https://github.com/celery/vine";
33 changelog = "https://github.com/celery/vine/releases/tag/v${version}";
34 license = licenses.bsd3;
35 maintainers = with maintainers; [ fab ];
36 };
37}