nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.pybigwig: 0.3.18 -> 0.3.20

Changelog: https://github.com/deeptools/pyBigWig/releases/tag/0.3.20

+36 -10
+36 -10
pkgs/development/python-modules/pybigwig/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , pytest 3 + , fetchFromGitHub 5 4 , numpy 5 + , pytestCheckHook 6 + , pythonOlder 6 7 , zlib 7 8 }: 8 9 9 10 buildPythonPackage rec { 10 11 pname = "pybigwig"; 11 - version = "0.3.18"; 12 + version = "0.3.20"; 13 + format = "setuptools"; 12 14 13 - src = fetchPypi { 14 - pname = "pyBigWig"; 15 - inherit version; 16 - sha256 = "4c2a8c571b4100ad7c4c318c142eb48558646be52aaab28215a70426f5be31bc"; 15 + disabled = pythonOlder "3.7"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "deeptools"; 19 + repo = "pyBigWig"; 20 + rev = "refs/tags/${version}"; 21 + hash = "sha256-uYKxM0HOG4fus5geBFjbfbv6G1kDvMaAwhk0w/e1YII="; 17 22 }; 18 23 19 - buildInputs = [ zlib ]; 24 + buildInputs = [ 25 + zlib 26 + ]; 20 27 21 - nativeCheckInputs = [ numpy pytest ]; 28 + nativeCheckInputs = [ 29 + numpy 30 + pytestCheckHook 31 + ]; 32 + 33 + pythonImportsCheck = [ 34 + "pyBigWig" 35 + ]; 36 + 37 + pytestFlagsArray = [ 38 + "pyBigWigTest/test*.py" 39 + ]; 40 + 41 + disabledTests = [ 42 + # Test file is donwloaded from GitHub 43 + "testAll" 44 + "testBigBed" 45 + "testFoo" 46 + "testNumpyValues" 47 + ]; 22 48 23 49 meta = with lib; { 24 50 description = "File access to bigBed files, and read and write access to bigWig files"; 25 51 longDescription = '' 26 - A python extension, written in C, for quick access to bigBed files 52 + A Python extension, written in C, for quick access to bigBed files 27 53 and access to and creation of bigWig files. This extension uses 28 54 libBigWig for local and remote file access. 29 55 '';