blob: 1c565bf36dc11925ee190b1b79dd4ff9859cba81 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
hatch-vcs,
# tests
numpy,
pandas,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "param";
version = "2.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "holoviz";
repo = "param";
tag = "v${version}";
hash = "sha256-tucF37o4Yf1OkGz4TUUFI/cGNlVLvTMcak+SmbztCMA=";
};
build-system = [
hatchling
hatch-vcs
];
nativeCheckInputs = [
numpy
pandas
pytest-asyncio
pytestCheckHook
];
pytestFlags = [
"-Wignore::DeprecationWarning"
];
pythonImportsCheck = [ "param" ];
meta = {
description = "Declarative Python programming using Parameters";
homepage = "https://param.holoviz.org/";
changelog = "https://github.com/holoviz/param/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|