nixpkgs/pkgs/development/python-modules/param/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

59 lines
1000 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
# build-system
hatchling,
hatch-vcs,
# tests
numpy,
pandas,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "param";
version = "2.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "holoviz";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-rGfFLDl5Y8D0OiO/1G05w2l3hAHZC368LuNADDzfBFs=";
};
nativeBuildInputs = [
hatchling
hatch-vcs
];
nativeCheckInputs = [
numpy
pandas
pytest-asyncio
pytestCheckHook
];
pytestFlagsArray = [
"-W"
"ignore::DeprecationWarning"
];
pythonImportsCheck = [ "param" ];
meta = with lib; {
description = "Declarative Python programming using Parameters";
homepage = "https://param.holoviz.org/";
changelog = "https://github.com/holoviz/param/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = [ ];
};
}