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