at 24.05-pre 776 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, gsl 5, swig 6, numpy 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "pygsl"; 12 version = "2.3.3"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-F3m85Bs8sONw0Rv0EAOFK6R1DFHfW4dxuzQmXo4PHfM="; 17 }; 18 19 nativeBuildInputs = [ 20 gsl.dev 21 swig 22 ]; 23 buildInputs = [ 24 gsl 25 ]; 26 propagatedBuildInputs = [ 27 numpy 28 ]; 29 30 preCheck = '' 31 cd tests 32 ''; 33 nativeCheckInputs = [ 34 pytestCheckHook 35 ]; 36 37 meta = { 38 description = "Python interface for GNU Scientific Library"; 39 homepage = "https://github.com/pygsl/pygsl"; 40 changelog = "https://github.com/pygsl/pygsl/blob/v${version}/ChangeLog"; 41 license = lib.licenses.gpl2Plus; 42 maintainers = with lib.maintainers; [ amesgen ]; 43 }; 44}