depot/third_party/nixpkgs/pkgs/development/python-modules/pyvcf/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

33 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
}:
buildPythonPackage rec {
pname = "PyVCF";
version = "0.6.8";
src = fetchFromGitHub {
owner = "jamescasbon";
repo = "PyVCF";
rev = "476169cd457ba0caa6b998b301a4d91e975251d9";
sha256 = "0qf9lwj7r2hjjp4bd4vc7nayrhblfm4qcqs4dbd43a6p4bj2jv5p";
};
nativeCheckInputs = [ pytest ];
meta = with lib; {
homepage = "https://pyvcf.readthedocs.io/en/latest/index.html";
description = "A VCF (Variant Call Format) Parser for Python, supporting version 4.0 and 4.1";
license = licenses.bsd3;
maintainers = with maintainers; [ scalavision ];
longDescription = ''
The intent of this module is to mimic the csv module in the Python stdlib,
as opposed to more flexible serialization formats like JSON or YAML.
vcf will attempt to parse the content of each record based on the data
types specified in the meta-information lines
'';
broken = true; # uses the 2to3 feature, that got removed in setuptools 0.58
};
}