audiobookshelf: 2.18.1 -> 2.19.0 (#378967)
[NixPkgs.git] / pkgs / by-name / bu / bustools / package.nix
blob2ed9fb52bad99c6a9b1d2850471aaf1423187f76
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6   zlib,
7   testers,
8   bustools,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "bustools";
13   version = "0.44.1";
15   src = fetchFromGitHub {
16     owner = "BUStools";
17     repo = "bustools";
18     rev = "v${version}";
19     sha256 = "sha256-0Y+9T9V+l20hqxpKbSWsEB0tt8A/ctYcoPN2n/roxvg=";
20   };
22   nativeBuildInputs = [ cmake ];
24   buildInputs = [ zlib ];
26   passthru.tests.version = testers.testVersion {
27     package = bustools;
28     command = "bustools version";
29   };
31   meta = {
32     description = "bustools is a program for manipulating BUS files for single cell RNA-Seq datasets";
33     longDescription = ''
34       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.
35     '';
36     homepage = "https://www.kallistobus.tools/";
37     downloadPage = "https://bustools.github.io/download";
38     changelog = "https://github.com/BUStools/bustools/releases/tag/v${version}";
39     maintainers = [ lib.maintainers.dflores ];
40     license = lib.licenses.bsd2;
41     mainProgram = "bustools";
42     platforms = lib.platforms.unix;
43   };