uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/development/python-modules/HTSeq/default.nix
Normal file
28
pkgs/development/python-modules/HTSeq/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, cython, numpy, pysam, matplotlib, python, isPy27, isPy3k }:
|
||||
buildPythonPackage rec {
|
||||
version = "0.12.4";
|
||||
pname = "HTSeq";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "htseq";
|
||||
repo = "htseq";
|
||||
rev = "release_${version}";
|
||||
sha256 = "0y7vh249sljqjnv81060w4xkdx6f1y5zdqkh38yk926x6v9riijm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
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
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://htseq.readthedocs.io/";
|
||||
description = "A framework to work with high-throughput sequencing data";
|
||||
maintainers = with maintainers; [ unode ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue