Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-scm, 7 mpmath, 8 numpy, 9 scipy, 10 pytestCheckHook, 11 pytest-xdist, 12}: 13 14buildPythonPackage rec { 15 pname = "hankel"; 16 version = "1.2.2"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "steven-murray"; 21 repo = "hankel"; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-/5PvbH8zz2siLS1YJYRSrl/Cpi0WToBu1TJhlek8VEE="; 24 }; 25 26 build-system = [ 27 setuptools 28 setuptools-scm 29 ]; 30 dependencies = [ 31 mpmath 32 numpy 33 scipy 34 ]; 35 36 pythonImportsCheck = [ "hankel" ]; 37 nativeCheckInputs = [ 38 pytestCheckHook 39 pytest-xdist 40 ]; 41 42 meta = { 43 description = "Implementation of Ogata's (2005) method for Hankel transforms"; 44 homepage = "https://github.com/steven-murray/hankel"; 45 changelog = "https://github.com/steven-murray/hankel/${src.rev}/CHANGELOG.rst"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ sigmanificient ]; 48 }; 49}