nixpkgs/pkgs/development/python-modules/rx/default.nix
2024-08-22 21:07:45 +02:00

37 lines
804 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "rx";
version = "3.2.0";
pyproject = true;
disabled = pythonOlder "3.6";
# Use fetchPypi to avoid the updater script to migrate it to `reactivex` which
# is being developed in the same repository
src = fetchPypi {
inherit version;
pname = "Rx";
sha256 = "b657ca2b45aa485da2f7dcfd09fac2e554f7ac51ff3c2f8f2ff962ecd963d91c";
};
build-system = [ setuptools ];
doCheck = false; # PyPI tarball does not provides tests
pythonImportsCheck = [ "rx" ];
meta = {
homepage = "https://github.com/ReactiveX/RxPY";
description = "Reactive Extensions for Python";
maintainers = with lib.maintainers; [ thanegill ];
license = lib.licenses.asl20;
};
}