Merge pull request #238058 from amesgen/pygsl-init

python3Packages.pygsl: init at 2.3.3
This commit is contained in:
Sandro 2023-07-06 01:35:56 +02:00 committed by GitHub
commit d4b23a70b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ 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 ];
};
}

View file

@ -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 { };