Commit 62922959 authored by dflores1's avatar dflores1
Browse files

bustools: init at 0.44.0

bustools: nixfmt
parent 5c44d7c8
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  cmake,
  zlib,
  testers,
  bustools,
}:

stdenv.mkDerivation rec {
  pname = "bustools";
  version = "0.44.0";

  src = fetchFromGitHub {
    owner = "BUStools";
    repo = "bustools";
    rev = "v${version}";
    sha256 = "sha256-chdHwwnhHFGJLu4KZmFJp3SZ26GFnbelm3Qz0yeKoBs=";
  };

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