Merge pull request #281129 from fabaff/formulaic-fix
python311Packages.formulaic: refactor
This commit is contained in:
commit
ca65f857bc
1 changed files with 21 additions and 12 deletions
|
@ -1,25 +1,27 @@
|
|||
{ lib
|
||||
, astor
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, hatchling
|
||||
, hatch-vcs
|
||||
, git
|
||||
, astor
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, interface-meta
|
||||
, numpy
|
||||
, pandas
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scipy
|
||||
, sympy
|
||||
, wrapt
|
||||
, typing-extensions
|
||||
, wrapt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "formulaic";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matthewwardrop";
|
||||
|
@ -28,6 +30,8 @@ buildPythonPackage rec {
|
|||
hash = "sha256-qivWv1LtFkW55tVKD/Zjd8Q5gVbxhDpZ0inkV6NR7bA=";
|
||||
};
|
||||
|
||||
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
hatch-vcs
|
||||
|
@ -44,18 +48,23 @@ buildPythonPackage rec {
|
|||
sympy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "formulaic" ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [
|
||||
"formulaic"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/transforms/test_poly.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "High-performance implementation of Wilkinson formulas";
|
||||
homepage = "https://matthewwardrop.github.io/formulaic/";
|
||||
description = "High-performance implementation of Wilkinson formulas for";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ swflint ];
|
||||
changelog = "https://github.com/matthewwardrop/formulaic/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ swflint ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue