about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/biology/somatic-sniper/default.nix
blob: 553725fb4566b2bc267420d181b76e29943531d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{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;
  };

}