mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-15 09:43:51 +00:00
Diff: https://github.com/arviz-devs/arviz/compare/v0.23.4...v1.1.0 Changelog: https://github.com/arviz-devs/arviz/blob/v1.1.0/CHANGELOG.md
56 lines
1.0 KiB
Nix
56 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
flit-core,
|
|
|
|
# dependencies
|
|
arviz-base,
|
|
arviz-plots,
|
|
arviz-stats,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "arviz";
|
|
version = "1.1.0";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "arviz-devs";
|
|
repo = "arviz";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-M9tj1X65hiLpI32X+t/gPYZHGwmAQ+9n52e8lVptg7k=";
|
|
};
|
|
|
|
build-system = [
|
|
flit-core
|
|
];
|
|
|
|
dependencies = [
|
|
arviz-base
|
|
arviz-plots
|
|
arviz-stats
|
|
]
|
|
++ arviz-stats.optional-dependencies.xarray;
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "arviz" ];
|
|
|
|
meta = {
|
|
description = "Library for exploratory analysis of Bayesian models";
|
|
homepage = "https://arviz-devs.github.io/arviz/";
|
|
changelog = "https://github.com/arviz-devs/arviz/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ omnipotententity ];
|
|
};
|
|
})
|