ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / unasync / default.nix
blob9b37edfb2841e24dacefc7d0fd8958b5eb14e8d9
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "unasync";
10   version = "0.5.0";
12   format = "pyproject";
14   src = fetchFromGitHub {
15     owner = "python-trio";
16     repo = "unasync";
17     rev = "v${version}";
18     sha256 = "0h86i09v4909a8nk5lp36jlwz6rsln6vyg3d0i13ykxa6lrx1c2l";
19   };
21   propagatedBuildInputs = [
22     setuptools
23   ];
25   checkInputs = [
26     pytestCheckHook
27   ];
29   disabledTests = [
30     # mess with $PYTHONPATH
31     "test_build_py_modules"
32     "test_build_py_packages"
33     "test_project_structure_after_build_py_packages"
34     "test_project_structure_after_customized_build_py_packages"
35   ];
37   pythonImportsCheck = [ "unasync" ];
39   meta = with lib; {
40     description = "Project that can transform your asynchronous code into synchronous code";
41     homepage = "https://github.com/python-trio/unasync";
42     license = with licenses; [ mit /* or */ asl20 ];
43     maintainers = with maintainers; [ dotlambda ];
44   };