depot/pkgs/applications/science/biology/somatic-sniper/default.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

30 lines
791 B
Nix

{lib, stdenv, fetchFromGitHub, cmake, zlib, ncurses}:
stdenv.mkDerivation rec {
pname = "somatic-sniper";
version = "1.0.5.0";
src = fetchFromGitHub {
owner = "genome";
repo = "somatic-sniper";
rev = "v${version}";
sha256 = "0lk7p9sp6mp50f6w1nppqhr40fcwy1asw06ivw8w8jvvnwaqf987";
};
patches = [ ./somatic-sniper.patch ];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ncurses ];
enableParallelBuilding = false;
meta = with lib; {
description = "Identify single nucleotide positions that are different between tumor and normal";
mainProgram = "bam-somaticsniper";
license = licenses.mit;
homepage = "https://github.com/genome/somatic-sniper";
maintainers = with maintainers; [ jbedo ];
platforms = platforms.linux;
};
}