at master 804 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "rx"; 11 version = "3.2.0"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.6"; 15 16 # Use fetchPypi to avoid the updater script to migrate it to `reactivex` which 17 # is being developed in the same repository 18 src = fetchPypi { 19 inherit version; 20 pname = "Rx"; 21 sha256 = "b657ca2b45aa485da2f7dcfd09fac2e554f7ac51ff3c2f8f2ff962ecd963d91c"; 22 }; 23 24 build-system = [ setuptools ]; 25 26 doCheck = false; # PyPI tarball does not provides tests 27 28 pythonImportsCheck = [ "rx" ]; 29 30 meta = { 31 homepage = "https://github.com/ReactiveX/RxPY"; 32 description = "Reactive Extensions for Python"; 33 maintainers = with lib.maintainers; [ thanegill ]; 34 license = lib.licenses.asl20; 35 }; 36}