Skip to content

Commit

Permalink
python311Packages.joblib-spark: init at 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahec committed Apr 13, 2024
1 parent 20d55e8 commit 99cdba6
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
43 changes: 43 additions & 0 deletions pkgs/development/python-modules/joblib-spark/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, wheel
, joblib
, pyspark
}:

buildPythonPackage rec {
pname = "joblib-spark";
version = "0.5.2";
pyproject = true;
disabled = pythonOlder "3.6";

src = fetchFromGitHub {
owner = "joblib";
repo = "joblib-spark";
rev = "v${version}";
hash = "sha256-RzkeOFAUI4gX2mgQRYw0LZbTTmAWmQvLTmQ8uo4kHa8=";
};

nativeBuildInputs = [
setuptools
wheel
];

propagatedBuildInputs = [
joblib
pyspark
];

pythonImportsCheck = [ "joblibspark" ];

meta = with lib; {
description = "Joblib Apache Spark Backend";
homepage = "https://github.com/joblib/joblib-spark";
changelog = "https://github.com/joblib/joblib-spark/blob/${src.rev}/CHANGES.rst";
license = licenses.asl20;
maintainers = with maintainers; [ sarahec ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6035,6 +6035,8 @@ self: super: with self; {

joblib = callPackage ../development/python-modules/joblib { };

joblib-spark = callPackage ../development/python-modules/joblib-spark { };

johnnycanencrypt = callPackage ../development/python-modules/johnnycanencrypt {
inherit (pkgs.darwin.apple_sdk.frameworks) PCSC;
};
Expand Down

0 comments on commit 99cdba6

Please sign in to comment.