Merge pull request #311319 from amesgen/pygsl-2.3.4

python3Packages.pygsl: 2.3.3 -> 2.3.4
This commit is contained in:
Weijia Wang 2024-05-13 23:07:09 +02:00 committed by GitHub
commit f69b611920
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, gsl
, swig
, numpy
@ -9,12 +9,14 @@
buildPythonPackage rec {
pname = "pygsl";
version = "2.3.3";
version = "2.3.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-F3m85Bs8sONw0Rv0EAOFK6R1DFHfW4dxuzQmXo4PHfM=";
src = fetchFromGitHub {
owner = "pygsl";
repo = "pygsl";
rev = "refs/tags/v.${version}";
hash = "sha256-2TalLKDDoJdKGZHr7eNNvVW8fL7wQJjnZv34LJokfow=";
};
nativeBuildInputs = [
@ -24,10 +26,14 @@ buildPythonPackage rec {
buildInputs = [
gsl
];
propagatedBuildInputs = [
dependencies = [
numpy
];
preBuild = ''
python setup.py build_ext --inplace
'';
preCheck = ''
cd tests
'';