cutadapt: Initial packaging
This commit is contained in:
25
pkgs/cutadapt.nix
Normal file
25
pkgs/cutadapt.nix
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||||
|
, cython, setuptools_scm
|
||||||
|
, dnaio, xopen, pytest, pytest-timeout, sphinx }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "2.3";
|
||||||
|
pname = "cutadapt";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1b4jdq565vwx44azjj7gsaszckzxbgnakpbvi5im4ll1knn69f4q";
|
||||||
|
};
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
buildInputs = [ cython setuptools_scm ];
|
||||||
|
propagatedBuildInputs = [ dnaio xopen ];
|
||||||
|
checkInputs = [ pytest pytest-timeout sphinx ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://cutadapt.readthedocs.io";
|
||||||
|
description = "Cutadapt finds and removes adapter sequences, primers, poly-A tails and other types of unwanted sequence from your high-throughput sequencing reads.";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
pkgs: self: super: with self; {
|
pkgs: self: super: with self; {
|
||||||
|
|
||||||
|
cutadapt = callPackage ./cutadapt.nix { };
|
||||||
|
|
||||||
dnaio = callPackage ./dnaio.nix { };
|
dnaio = callPackage ./dnaio.nix { };
|
||||||
|
|
||||||
ghmm = disabledIf isPy3k ( toPythonModule (pkgs.ghmm.override { python2Packages=self; }) ).py;
|
ghmm = disabledIf isPy3k ( toPythonModule (pkgs.ghmm.override { python2Packages=self; }) ).py;
|
||||||
|
|||||||
Reference in New Issue
Block a user