Loading pkgs/development/python-modules/pygsl/default.nix 0 → 100644 +44 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , gsl , swig , numpy , pytestCheckHook }: buildPythonPackage rec { pname = "pygsl"; version = "2.3.3"; src = fetchPypi { inherit pname version; hash = "sha256-F3m85Bs8sONw0Rv0EAOFK6R1DFHfW4dxuzQmXo4PHfM="; }; nativeBuildInputs = [ gsl.dev swig ]; buildInputs = [ gsl ]; propagatedBuildInputs = [ numpy ]; preCheck = '' cd tests ''; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Python interface for GNU Scientific Library"; homepage = "https://github.com/pygsl/pygsl"; changelog = "https://github.com/pygsl/pygsl/blob/v${version}/ChangeLog"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ amesgen ]; }; } pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -8819,6 +8819,10 @@ self: super: with self; { pygrok = callPackage ../development/python-modules/pygrok { }; pygsl = callPackage ../development/python-modules/pygsl { inherit (pkgs) gsl swig; }; pygtfs = callPackage ../development/python-modules/pygtfs { }; pygtail = callPackage ../development/python-modules/pygtail { }; Loading Loading
pkgs/development/python-modules/pygsl/default.nix 0 → 100644 +44 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , gsl , swig , numpy , pytestCheckHook }: buildPythonPackage rec { pname = "pygsl"; version = "2.3.3"; src = fetchPypi { inherit pname version; hash = "sha256-F3m85Bs8sONw0Rv0EAOFK6R1DFHfW4dxuzQmXo4PHfM="; }; nativeBuildInputs = [ gsl.dev swig ]; buildInputs = [ gsl ]; propagatedBuildInputs = [ numpy ]; preCheck = '' cd tests ''; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Python interface for GNU Scientific Library"; homepage = "https://github.com/pygsl/pygsl"; changelog = "https://github.com/pygsl/pygsl/blob/v${version}/ChangeLog"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ amesgen ]; }; }
pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -8819,6 +8819,10 @@ self: super: with self; { pygrok = callPackage ../development/python-modules/pygrok { }; pygsl = callPackage ../development/python-modules/pygsl { inherit (pkgs) gsl swig; }; pygtfs = callPackage ../development/python-modules/pygtfs { }; pygtail = callPackage ../development/python-modules/pygtail { }; Loading