dnaio: Initial packaging
This commit is contained in:
25
pkgs/dnaio.nix
Normal file
25
pkgs/dnaio.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||
, cython
|
||||
, xopen, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.3";
|
||||
pname = "dnaio";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0f16m7hdlm0fz1n7y5asy0v9ghyrq17ni1p9iybq22ddzyd49r27";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
buildInputs = [ cython ];
|
||||
propagatedBuildInputs = [ xopen ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/marcelm/dnaio";
|
||||
description = "Library for fast parsing of FASTQ and also FASTA files.";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
pkgs: self: super: with self; {
|
||||
|
||||
dnaio = callPackage ./dnaio.nix { };
|
||||
|
||||
ghmm = disabledIf isPy3k ( toPythonModule (pkgs.ghmm.override { python2Packages=self; }) ).py;
|
||||
|
||||
openslide = callPackage ./openslide/python.nix { openslide = pkgs.openslide; };
|
||||
|
||||
Reference in New Issue
Block a user