Merge pull request #283448 from doronbehar/pkg/pwlf
python311Packages.pwlf: init at 2.2.1
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, wheel
|
||||
, scipy
|
||||
, numpy
|
||||
, pydoe
|
||||
, unittestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pwlf";
|
||||
version = "2.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cjekel";
|
||||
repo = "piecewise_linear_fit_py";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-gjdahulpHjBmOlKOCPF9WmrWe4jn/+0oVI4o09EX7qE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
scipy
|
||||
numpy
|
||||
pydoe
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pwlf" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fit piecewise linear data for a specified number of line segments";
|
||||
homepage = "https://jekel.me/piecewise_linear_fit_py/";
|
||||
changelog = "https://github.com/cjekel/piecewise_linear_fit_py/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, wheel
|
||||
, scipy
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyDOE";
|
||||
version = "0.3.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-y9bxSuJtPJ9zYBMgX1PqEZGt1FZwM8Pud7fdNWVmxLY=";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
scipy
|
||||
numpy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyDOE" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Design of experiments for Python";
|
||||
homepage = "https://github.com/tisimst/pyDOE";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
||||
@@ -9994,6 +9994,8 @@ self: super: with self; {
|
||||
|
||||
pweave = callPackage ../development/python-modules/pweave { };
|
||||
|
||||
pwlf = callPackage ../development/python-modules/pwlf { };
|
||||
|
||||
pwntools = callPackage ../development/python-modules/pwntools {
|
||||
debugger = pkgs.gdb;
|
||||
};
|
||||
@@ -10348,6 +10350,8 @@ self: super: with self; {
|
||||
|
||||
pydoods = callPackage ../development/python-modules/pydoods { };
|
||||
|
||||
pydoe = callPackage ../development/python-modules/pydoe { };
|
||||
|
||||
pydot = callPackage ../development/python-modules/pydot {
|
||||
inherit (pkgs) graphviz;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user