From 62922959f68591eb74f10708d9ad36639bb87e0e Mon Sep 17 00:00:00 2001 From: dflores1 Date: Wed, 9 Oct 2024 23:18:33 +0200 Subject: [PATCH] bustools: init at 0.44.0 bustools: nixfmt --- pkgs/by-name/bu/bustools/package.nix | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pkgs/by-name/bu/bustools/package.nix diff --git a/pkgs/by-name/bu/bustools/package.nix b/pkgs/by-name/bu/bustools/package.nix new file mode 100644 index 000000000000..c5b777073078 --- /dev/null +++ b/pkgs/by-name/bu/bustools/package.nix @@ -0,0 +1,44 @@ +{ + 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; + }; +}