python312Packages.truncnorm: init at 0.0.2
This commit is contained in:
44
pkgs/development/python-modules/truncnorm/default.nix
Normal file
44
pkgs/development/python-modules/truncnorm/default.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
numpy,
|
||||
scipy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "truncnorm";
|
||||
version = "0.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jluttine";
|
||||
repo = "truncnorm";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-F+RBXN/pjxmHf26/Vxptz1NbF58eqU018l3zmepSoJk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
scipy
|
||||
];
|
||||
|
||||
# No checks
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "truncnorm" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.org/project/truncnorm";
|
||||
description = "Moments for doubly truncated multivariate normal distributions";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
};
|
||||
}
|
||||
@@ -15426,6 +15426,8 @@ self: super: with self; {
|
||||
|
||||
trueskill = callPackage ../development/python-modules/trueskill { };
|
||||
|
||||
truncnorm = callPackage ../development/python-modules/truncnorm { };
|
||||
|
||||
trustme = callPackage ../development/python-modules/trustme { };
|
||||
|
||||
truststore = callPackage ../development/python-modules/truststore { };
|
||||
|
||||
Reference in New Issue
Block a user