about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/biology/angsd/default.nix
blob: 02e00cd19ad6a5fabe978124fb3f9abe147567f9 (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
{ lib, stdenv, fetchFromGitHub, htslib, zlib, bzip2, xz, curl, openssl }:

stdenv.mkDerivation rec {
  pname = "angsd";
  version = "0.937";

  src = fetchFromGitHub {
    owner = "ANGSD";
    repo = "angsd";
    sha256 = "1020gh066dprqhfi90ywqzqqnq7awn49wrkkjnizmmab52v00kxs";
    rev = "${version}";
  };

  buildInputs = [ htslib zlib bzip2 xz curl openssl ];

  makeFlags = [ "HTSSRC=systemwide" "prefix=$(out)" ];

  meta = with lib; {
    description = "Program for analysing NGS data";
    homepage = "http://www.popgen.dk/angsd";
    maintainers = [ maintainers.bzizou ];
    license = licenses.gpl2;
  };
}