@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, htslib, zlib, autoreconfHook, pkgconfig, perl }:
2+
3+stdenv.mkDerivation rec {
4+ name = "${pname}-${version}";
5+ pname = "vcftools";
6+ version = "0.1.15";
7+
8+ src = fetchFromGitHub {
9+ repo = pname;
10+ owner = "vcftools";
11+ rev = "v${version}";
12+ sha256 = "15yxr4kidqb42gkbd6rjra6b07wpl6rgivlh9q73yavh5myafqk4";
13+ };
14+
15+ buildInputs = [ autoreconfHook pkgconfig zlib perl ];
16+
17+ meta = with stdenv.lib; {
18+ description = "A set of tools written in Perl and C++ for working with VCF files, such as those generated by the 1000 Genomes Project";
19+ license = licenses.lgpl3;
20+ platforms = platforms.linux;
21+ homepage = https://vcftools.github.io/index.html;
22+ maintainers = [ maintainers.rybern ];
23+ };
24+}