depot/pkgs/by-name/bu/bustools/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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