Loading pkgs/development/python-modules/pulsar/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , cmake , pkg-config , libpulsar , pybind11 , certifi }: buildPythonPackage rec { pname = "pulsar"; version = "3.4.0"; format = "setuptools"; src = fetchFromGitHub { owner = "apache"; repo = "pulsar-client-python"; rev = "v${version}"; hash = "sha256-WcD88s8V4AT/juW0qmYHdtYzrS3hWeom/4r8TETlmFE="; }; disabled = pythonOlder "3.7"; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ libpulsar pybind11 ]; preBuild = '' make -j$NIX_BUILD_CORES make install cd .. ''; propagatedBuildInputs = [ certifi ]; # Requires to setup a cluster doCheck = false; pythonImportsCheck = [ "pulsar" ]; meta = with lib; { description = "Apache Pulsar Python client library"; homepage = "https://pulsar.apache.org/docs/next/client-libraries-python/"; changelog = "https://github.com/apache/pulsar-client-python/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ gaelreyrol ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10297,6 +10297,8 @@ self: super: with self; { pulsectl-asyncio = callPackage ../development/python-modules/pulsectl-asyncio { }; pulsar = callPackage ../development/python-modules/pulsar { }; pulsectl = callPackage ../development/python-modules/pulsectl { }; pure-cdb = callPackage ../development/python-modules/pure-cdb { }; Loading Loading
pkgs/development/python-modules/pulsar/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , cmake , pkg-config , libpulsar , pybind11 , certifi }: buildPythonPackage rec { pname = "pulsar"; version = "3.4.0"; format = "setuptools"; src = fetchFromGitHub { owner = "apache"; repo = "pulsar-client-python"; rev = "v${version}"; hash = "sha256-WcD88s8V4AT/juW0qmYHdtYzrS3hWeom/4r8TETlmFE="; }; disabled = pythonOlder "3.7"; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ libpulsar pybind11 ]; preBuild = '' make -j$NIX_BUILD_CORES make install cd .. ''; propagatedBuildInputs = [ certifi ]; # Requires to setup a cluster doCheck = false; pythonImportsCheck = [ "pulsar" ]; meta = with lib; { description = "Apache Pulsar Python client library"; homepage = "https://pulsar.apache.org/docs/next/client-libraries-python/"; changelog = "https://github.com/apache/pulsar-client-python/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ gaelreyrol ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10297,6 +10297,8 @@ self: super: with self; { pulsectl-asyncio = callPackage ../development/python-modules/pulsectl-asyncio { }; pulsar = callPackage ../development/python-modules/pulsar { }; pulsectl = callPackage ../development/python-modules/pulsectl { }; pure-cdb = callPackage ../development/python-modules/pure-cdb { }; Loading