at master 876 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 pytestCheckHook, 7 scipy, 8 setuptools, 9}: 10 11buildPythonPackage 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}