nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 zlib,
6 autoreconfHook,
7 pkg-config,
8 perl,
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "vcftools";
13 version = "0.1.17";
14
15 src = fetchFromGitHub {
16 repo = "vcftools";
17 owner = "vcftools";
18 rev = "v${finalAttrs.version}";
19 sha256 = "sha256-IiePgDpaL/6XOpQsOn90clB6ST7F/37sztmHrC7Ysbw=";
20 };
21
22 nativeBuildInputs = [
23 pkg-config
24 autoreconfHook
25 ];
26 buildInputs = [
27 zlib
28 perl
29 ];
30
31 meta = {
32 description = "Set of tools written in Perl and C++ for working with VCF files, such as those generated by the 1000 Genomes Project";
33 license = lib.licenses.lgpl3;
34 platforms = lib.platforms.linux;
35 homepage = "https://vcftools.github.io/index.html";
36 maintainers = [ lib.maintainers.rybern ];
37 };
38})