Files
ccpkgs/pkgs/cutadapt.nix
2019-06-25 11:56:13 -04:00

26 lines
746 B
Nix

{ 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;
};
}