Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 51 lines 806 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, cython 5, gfortran 6, git 7, meson-python 8, pkg-config 9, numpy 10, openblas 11}: 12 13buildPythonPackage rec { 14 pname = "scikit-misc"; 15 version = "0.2.0"; 16 format = "pyproject"; 17 18 src = fetchPypi { 19 pname = "scikit_misc"; 20 inherit version; 21 hash = "sha256-rBTdTpNeRC/DSrHFg7ZhHUYD0G9IgoqFx+A+LCxYK7w="; 22 }; 23 24 postPatch = '' 25 patchShebangs . 26 ''; 27 28 nativeBuildInputs = [ 29 cython 30 gfortran 31 git 32 meson-python 33 pkg-config 34 ]; 35 36 buildInputs = [ 37 numpy 38 openblas 39 ]; 40 41 pythonImportsCheck = [ 42 "skmisc" 43 ]; 44 45 meta = with lib; { 46 description = "Miscellaneous tools for scientific computing"; 47 homepage = "https://github.com/has2k1/scikit-misc"; 48 license = licenses.bsd3; 49 maintainers = with maintainers; [ onny ]; 50 }; 51}