1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "findspark";
10 version = "2.0.1";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "minrk";
15 repo = "findspark";
16 tag = version;
17 hash = "sha256-/+b1Pf+ySwlv6XP1wtHx1tx4WfYdu6GuxJVQkcX3MY8=";
18 };
19
20 build-system = [
21 setuptools
22 ];
23
24 pythonImportsCheck = [ "findspark" ];
25
26 # No tests
27 doCheck = false;
28
29 meta = {
30 description = "Find pyspark to make it importable";
31 homepage = "https://github.com/minrk/findspark";
32 changelog = "https://github.com/minrk/findspark/blob/${version}/CHANGELOG.md";
33 license = lib.licenses.bsd3;
34 maintainers = with lib.maintainers; [ GaetanLepage ];
35 };
36}