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