mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 01:03:54 +00:00
Diff: https://github.com/arviz-devs/arviz/compare/v1.1.0...v1.2.0 Changelog: https://github.com/arviz-devs/arviz/blob/v1.2.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.2.0";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "arviz-devs";
|
|
repo = "arviz";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-pbYc9ofBTAZ9e7IqAgHXT0EXhbQzovSdc6X3SysAKhw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
})
|