mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
45 lines
1.3 KiB
Nix
45 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
zlib,
|
|
testers,
|
|
bustools,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bustools";
|
|
version = "0.44.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BUStools";
|
|
repo = "bustools";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-0Y+9T9V+l20hqxpKbSWsEB0tt8A/ctYcoPN2n/roxvg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = bustools;
|
|
command = "bustools version";
|
|
};
|
|
|
|
meta = {
|
|
description = "bustools is a program for manipulating BUS files for single cell RNA-Seq datasets";
|
|
longDescription = ''
|
|
bustools is a program for manipulating BUS files for single cell RNA-Seq datasets. It can be used to error correct barcodes, collapse UMIs, produce gene count or transcript compatibility count matrices, and is useful for many other tasks. It is also part of the kallisto | bustools workflow for pre-processing single-cell RNA-seq data.
|
|
'';
|
|
homepage = "https://www.kallistobus.tools/";
|
|
downloadPage = "https://bustools.github.io/download";
|
|
changelog = "https://github.com/BUStools/bustools/releases/tag/v${version}";
|
|
maintainers = [ lib.maintainers.dflores ];
|
|
license = lib.licenses.bsd2;
|
|
mainProgram = "bustools";
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|