lol
0
fork

Configure Feed

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

pysam: init at 0.13.0

A python library to interact with SAM/BAM/CRAM files

+50
+48
pkgs/development/python-modules/pysam/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , bzip2 5 + , bcftools 6 + , curl 7 + , cython 8 + , htslib 9 + , lzma 10 + , pytest 11 + , samtools 12 + , zlib 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "pysam"; 17 + version = "0.13.0"; 18 + 19 + # Fetching from GitHub instead of PyPi cause the 0.13 src release on PyPi is 20 + # missing some files which cause test failures. 21 + # Tracked at: https://github.com/pysam-developers/pysam/issues/616 22 + src = fetchFromGitHub { 23 + owner = "pysam-developers"; 24 + repo = "pysam"; 25 + rev = "v${version}"; 26 + sha256 = "1lwbcl38w1x0gciw5psjp87msmv9zzkgiqikg9b83dqaw2y5az1i"; 27 + }; 28 + 29 + buildInputs = [ bzip2 curl cython lzma zlib ]; 30 + 31 + checkInputs = [ pytest bcftools htslib samtools ]; 32 + 33 + checkPhase = "py.test"; 34 + 35 + preInstall = '' 36 + export HOME=$(mktemp -d) 37 + make -C tests/pysam_data 38 + make -C tests/cbcf_data 39 + ''; 40 + 41 + meta = { 42 + homepage = http://pysam.readthedocs.io/; 43 + description = "A python module for reading, manipulating and writing genome data sets"; 44 + maintainers = with lib.maintainers; [ unode ]; 45 + license = lib.licenses.mit; 46 + platforms = [ "i686-linux" "x86_64-linux" ]; 47 + }; 48 + }
+2
pkgs/top-level/python-packages.nix
··· 13226 13226 }; 13227 13227 }; 13228 13228 13229 + pysam = callPackage ../development/python-modules/pysam { }; 13230 + 13229 13231 pysaml2 = buildPythonPackage rec { 13230 13232 name = "pysaml2-${version}"; 13231 13233 version = "3.0.2";