python311Packages.htseq: format with nixfmt

This commit is contained in:
natsukium
2024-05-02 17:11:46 +09:00
parent 3ceb8981a4
commit 455be5c8bc
@@ -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/";