at master 926 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 hatchling, 8 hatch-vcs, 9 10 # tests 11 numpy, 12 pandas, 13 pytest-asyncio, 14 pytestCheckHook, 15}: 16 17buildPythonPackage rec { 18 pname = "param"; 19 version = "2.2.1"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "holoviz"; 24 repo = "param"; 25 tag = "v${version}"; 26 hash = "sha256-tucF37o4Yf1OkGz4TUUFI/cGNlVLvTMcak+SmbztCMA="; 27 }; 28 29 build-system = [ 30 hatchling 31 hatch-vcs 32 ]; 33 34 nativeCheckInputs = [ 35 numpy 36 pandas 37 pytest-asyncio 38 pytestCheckHook 39 ]; 40 41 pytestFlags = [ 42 "-Wignore::DeprecationWarning" 43 ]; 44 45 pythonImportsCheck = [ "param" ]; 46 47 meta = with lib; { 48 description = "Declarative Python programming using Parameters"; 49 homepage = "https://param.holoviz.org/"; 50 changelog = "https://github.com/holoviz/param/releases/tag/${src.tag}"; 51 license = licenses.bsd3; 52 maintainers = [ ]; 53 }; 54}