Unverified Commit 4d897323 authored by amesgen's avatar amesgen
Browse files

python3Packages.pygsl: init at 2.3.3

parent 5d486408
Loading
Loading
Loading
Loading
+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 ];
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -8679,6 +8679,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 { };