Merge pull request #238058 from amesgen/pygsl-init
python3Packages.pygsl: init at 2.3.3
This commit is contained in:
commit
d4b23a70b1
2 changed files with 48 additions and 0 deletions
44
pkgs/development/python-modules/pygsl/default.nix
Normal file
44
pkgs/development/python-modules/pygsl/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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…
Reference in a new issue