blob: 0c07483b071143d16be02ab2946e4bfc6b8bd3e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{ lib
, buildPythonPackage
, fetchFromGitHub
# build-system
, setuptools
# dependencies
, numpy
, joblib
, networkx
, scipy
, pyyaml
, cython
}:
buildPythonPackage rec {
pname = "pomegranate";
version = "0.14.8";
pyproject = true;
src = fetchFromGitHub {
repo = pname;
owner = "jmschrei";
# no tags for recent versions: https://github.com/jmschrei/pomegranate/issues/974
rev = "refs/tags/v${version}";
hash = "sha256-PoDAtNm/snq4isotkoCTVYUuwr9AKKwiXIojUFMH/YE=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
numpy
joblib
networkx
scipy
pyyaml
cython
];
# https://github.com/etal/cnvkit/issues/815
passthru.skipBulkUpdate = true;
meta = with lib; {
description = "Probabilistic and graphical models for Python, implemented in cython for speed";
homepage = "https://github.com/jmschrei/pomegranate";
license = licenses.mit;
maintainers = with maintainers; [ rybern ];
};
}
|