summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pygsl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pygsl/default.nix')
-rw-r--r--pkgs/development/python-modules/pygsl/default.nix27
1 files changed, 11 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/pygsl/default.nix b/pkgs/development/python-modules/pygsl/default.nix
index 0880ff181097..2549a2d7f497 100644
--- a/pkgs/development/python-modules/pygsl/default.nix
+++ b/pkgs/development/python-modules/pygsl/default.nix
@@ -1,10 +1,11 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, gsl
-, swig
-, numpy
-, pytestCheckHook
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
+ gsl,
+ swig,
+ numpy,
+ pytestCheckHook,
}:
buildPythonPackage rec {
@@ -23,12 +24,8 @@ buildPythonPackage rec {
gsl.dev
swig
];
- buildInputs = [
- gsl
- ];
- dependencies = [
- numpy
- ];
+ buildInputs = [ gsl ];
+ dependencies = [ numpy ];
preBuild = ''
python setup.py build_ext --inplace
@@ -37,9 +34,7 @@ buildPythonPackage rec {
preCheck = ''
cd tests
'';
- nativeCheckInputs = [
- pytestCheckHook
- ];
+ nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python interface for GNU Scientific Library";