mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #311319 from amesgen/pygsl-2.3.4
python3Packages.pygsl: 2.3.3 -> 2.3.4
This commit is contained in:
commit
f69b611920
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user