Files
nixpkgs/pkgs/development/python-modules/param/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

55 lines
920 B
Nix

{
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 = [ ];
};
}