19 stdenv.mkDerivation (finalAttrs: {
23 pufferFishSrc = fetchFromGitHub {
24 owner = "COMBINE-lab";
26 rev = "salmon-v${finalAttrs.version}";
27 hash = "sha256-g4pfNuc620WQ7UDv8PQHVbbTVt78aGVqcHHMszmBIkA=";
30 src = fetchFromGitHub {
31 owner = "COMBINE-lab";
33 rev = "v${finalAttrs.version}";
34 hash = "sha256-HGcDqu0XzgrU3erHavigXCoj3VKk82ixMLY10Kk9MW4=";
38 # Use pufferfish source fetched by nix
39 ./fetch-pufferfish.patch
42 postPatch = "patchShebangs .";
45 (boost.override { enableShared = false; enabledStatic = true; })
55 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
57 nativeBuildInputs = [ cmake pkg-config ];
63 "Tool for quantifying the expression of transcripts using RNA-seq data";
64 mainProgram = "salmon";
66 Salmon is a tool for quantifying the expression of transcripts
67 using RNA-seq data. Salmon uses new algorithms (specifically,
68 coupling the concept of quasi-mapping with a two-phase inference
69 procedure) to provide accurate expression estimates very quickly
70 and while using little memory. Salmon performs its inference using
71 an expressive and realistic model of RNA-seq data that takes into
72 account experimental attributes and biases commonly observed in
75 homepage = "https://combine-lab.github.io/salmon";
76 downloadPage = "https://github.com/COMBINE-lab/salmon/releases";
77 changelog = "https://github.com/COMBINE-lab/salmon/releases/tag/" +
78 "v${finalAttrs.version}";
79 license = lib.licenses.gpl3Only;
80 platforms = lib.platforms.all;
81 maintainers = [ lib.maintainers.kupac ];