From 455be5c8bcf0da7033b8d1c09ee2b97c88213aef Mon Sep 17 00:00:00 2001 From: natsukium Date: Thu, 2 May 2024 17:11:46 +0900 Subject: [PATCH] python311Packages.htseq: format with nixfmt --- .../python-modules/htseq/default.nix | 31 ++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/htseq/default.nix b/pkgs/development/python-modules/htseq/default.nix index 9d69a8bfef54..1e95f31739b8 100644 --- a/pkgs/development/python-modules/htseq/default.nix +++ b/pkgs/development/python-modules/htseq/default.nix @@ -1,4 +1,15 @@ -{ lib, buildPythonPackage, fetchFromGitHub, cython, numpy, pysam, matplotlib, python, isPy27, isPy3k }: +{ + lib, + buildPythonPackage, + fetchFromGitHub, + cython, + numpy, + pysam, + matplotlib, + python, + isPy27, + isPy3k, +}: buildPythonPackage rec { version = "0.12.4"; format = "setuptools"; @@ -12,13 +23,19 @@ buildPythonPackage rec { }; nativeBuildInputs = [ cython ]; - propagatedBuildInputs = [ numpy pysam matplotlib ]; + propagatedBuildInputs = [ + numpy + pysam + matplotlib + ]; - checkPhase = lib.optionalString isPy27 '' - ${python.interpreter} python2/test/test_general.py - '' + lib.optionalString isPy3k '' - ${python.interpreter} python3/test/test_general.py - ''; + checkPhase = + lib.optionalString isPy27 '' + ${python.interpreter} python2/test/test_general.py + '' + + lib.optionalString isPy3k '' + ${python.interpreter} python3/test/test_general.py + ''; meta = with lib; { homepage = "https://htseq.readthedocs.io/";