Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 54 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 cython, 6 extension-helpers, 7 numpy, 8 setuptools, 9 setuptools-scm, 10 pytestCheckHook, 11 pytest-cov-stub, 12}: 13 14buildPythonPackage rec { 15 pname = "gstools-cython"; 16 version = "1.1.0"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "GeoStat-Framework"; 21 repo = "GSTools-Cython"; 22 tag = "v${version}"; 23 hash = "sha256-Kzn/ThLjTGy3ZYIkTwCV1wi22c7rWo4u/L3llppC6wQ="; 24 }; 25 26 build-system = [ 27 cython 28 extension-helpers 29 numpy 30 setuptools 31 setuptools-scm 32 ]; 33 34 dependencies = [ 35 numpy 36 ]; 37 38 nativeCheckInputs = [ 39 pytestCheckHook 40 pytest-cov-stub 41 ]; 42 43 pythonImportsCheck = [ 44 "gstools_cython" 45 ]; 46 47 meta = { 48 description = "Cython backend for GSTools"; 49 homepage = "https://github.com/GeoStat-Framework/GSTools-Cython"; 50 changelog = "https://github.com/GeoStat-Framework/GSTools-Cython/blob/${src.tag}/CHANGELOG.md"; 51 license = lib.licenses.lgpl3Only; 52 maintainers = with lib.maintainers; [ sarahec ]; 53 }; 54}