mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python310Packages.formulaic: init at 0.5.2
This commit is contained in:
parent
02a0ccf413
commit
30ed80066d
63
pkgs/development/python-modules/formulaic/default.nix
Normal file
63
pkgs/development/python-modules/formulaic/default.nix
Normal file
@ -0,0 +1,63 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, hatchling
|
||||
, hatch-vcs
|
||||
, git
|
||||
, astor
|
||||
, interface-meta
|
||||
, numpy
|
||||
, pandas
|
||||
, scipy
|
||||
, sympy
|
||||
, wrapt
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "formulaic";
|
||||
version = "0.5.2";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matthewwardrop";
|
||||
repo = "formulaic";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-sIvHTuUS/nkcDjRgZCoEOY2negIOsarzH0PeXJsavWc=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
astor
|
||||
numpy
|
||||
pandas
|
||||
scipy
|
||||
wrapt
|
||||
typing-extensions
|
||||
interface-meta
|
||||
sympy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "formulaic" ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/transforms/test_poly.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://matthewwardrop.github.io/formulaic/";
|
||||
description = "High-performance implementation of Wilkinson formulas for";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ swflint ];
|
||||
};
|
||||
}
|
@ -3617,6 +3617,8 @@ self: super: with self; {
|
||||
|
||||
FormEncode = callPackage ../development/python-modules/FormEncode { };
|
||||
|
||||
formulaic = callPackage ../development/python-modules/formulaic { };
|
||||
|
||||
foundationdb51 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb51; };
|
||||
foundationdb52 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb52; };
|
||||
foundationdb60 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb60; };
|
||||
|
Loading…
Reference in New Issue
Block a user