lol

python3Packages.{pyhdfe,linearmodels}: init at {0.2.0,6.1} (#421758)

authored by

Silvan Mosberger and committed by
GitHub
31cbfc64 cbe47472

+104
+59
pkgs/development/python-modules/linearmodels/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + cython, 6 + formulaic, 7 + mypy-extensions, 8 + numpy, 9 + pandas, 10 + pyhdfe, 11 + pytestCheckHook, 12 + scipy, 13 + setuptools, 14 + setuptools-scm, 15 + statsmodels, 16 + }: 17 + 18 + buildPythonPackage rec { 19 + pname = "linearmodels"; 20 + version = "6.1"; 21 + pyproject = true; 22 + 23 + src = fetchFromGitHub { 24 + owner = "bashtage"; 25 + repo = "linearmodels"; 26 + tag = "v${version}"; 27 + hash = "sha256-oWVBsFSKnv/8AHYP5sxO6+u5+hsOw/uQlOetse5ue88="; 28 + }; 29 + 30 + build-system = [ 31 + setuptools 32 + setuptools-scm 33 + cython 34 + ]; 35 + 36 + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; 37 + 38 + dependencies = [ 39 + formulaic 40 + mypy-extensions 41 + numpy 42 + pandas 43 + pyhdfe 44 + scipy 45 + statsmodels 46 + ]; 47 + 48 + nativeCheckInputs = [ pytestCheckHook ]; 49 + 50 + pythonImportsCheck = [ "linearmodels" ]; 51 + 52 + meta = { 53 + description = "Models for panel data, system regression, instrumental variables and asset pricing"; 54 + homepage = "https://bashtage.github.io/linearmodels/"; 55 + changelog = "https://github.com/bashtage/linearmodels/releases/tag/v${version}"; 56 + license = lib.licenses.ncsa; 57 + maintainers = with lib.maintainers; [ jherland ]; 58 + }; 59 + }
+41
pkgs/development/python-modules/pyhdfe/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + numpy, 6 + pytestCheckHook, 7 + scipy, 8 + setuptools, 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "pyhdfe"; 13 + version = "0.2.0"; 14 + pyproject = true; 15 + 16 + src = fetchFromGitHub { 17 + owner = "jeffgortmaker"; 18 + repo = "pyhdfe"; 19 + tag = "v${version}"; 20 + hash = "sha256-UXVQHf4Nmq/zQZtPaLba4TShhpgPUBwPM+zCEa8qaKs="; 21 + }; 22 + 23 + build-system = [ setuptools ]; 24 + 25 + dependencies = [ 26 + numpy 27 + scipy 28 + ]; 29 + 30 + nativeCheckInputs = [ pytestCheckHook ]; 31 + 32 + pythonImportsCheck = [ "pyhdfe" ]; 33 + 34 + meta = { 35 + description = "Python 3 implementation of algorithms for absorbing high dimensional fixed effects"; 36 + homepage = "https://github.com/jeffgortmaker/pyhdfe"; 37 + changelog = "https://github.com/jeffgortmaker/pyhdfe/releases/tag/v${version}"; 38 + license = lib.licenses.mit; 39 + maintainers = with lib.maintainers; [ jherland ]; 40 + }; 41 + }
+4
pkgs/top-level/python-packages.nix
··· 8440 8440 8441 8441 linear-operator = callPackage ../development/python-modules/linear-operator { }; 8442 8442 8443 + linearmodels = callPackage ../development/python-modules/linearmodels { }; 8444 + 8443 8445 lineax = callPackage ../development/python-modules/lineax { }; 8444 8446 8445 8447 linecache2 = callPackage ../development/python-modules/linecache2 { }; ··· 13139 13141 pyhaversion = callPackage ../development/python-modules/pyhaversion { }; 13140 13142 13141 13143 pyhcl = callPackage ../development/python-modules/pyhcl { }; 13144 + 13145 + pyhdfe = callPackage ../development/python-modules/pyhdfe { }; 13142 13146 13143 13147 pyheck = callPackage ../development/python-modules/pyheck { }; 13144 13148