mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
25 lines
713 B
Nix
25 lines
713 B
Nix
{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, scipy, cython, networkx, joblib, nose, pyyaml }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pomegranate";
|
|
version = "0.11.2";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = pname;
|
|
owner = "jmschrei";
|
|
rev = "v${version}";
|
|
sha256 = "070ciwww1lhjmfwd5n1kcwgxwbgdfvmhjs4l156bnf08z9dlrafl";
|
|
};
|
|
|
|
propagatedBuildInputs = [ numpy scipy cython networkx joblib pyyaml ];
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|