Unverified Commit 7cf2cecb authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python313Packages.pysam: 0.22.1-unstable-2024-10-30 -> 0.23.3 (#438849)

parents 597c7a90 8500e522
Loading
Loading
Loading
Loading
+14 −6
Original line number Diff line number Diff line
@@ -13,11 +13,12 @@
  setuptools,
  samtools,
  zlib,
  nix-update-script,
}:

buildPythonPackage {
buildPythonPackage rec {
  pname = "pysam";
  version = "0.22.1-unstable-2024-10-30";
  version = "0.23.3";
  pyproject = true;

  # Fetching from GitHub instead of PyPi cause the 0.13 src release on PyPi is
@@ -26,16 +27,19 @@ buildPythonPackage {
  src = fetchFromGitHub {
    owner = "pysam-developers";
    repo = "pysam";
    rev = "0eae5be21ac3ab3ac7aa770a3931e2977e37b909";
    hash = "sha256-i8glYSpuCRNhNtK4i6eUrerz8daiMfY/YgDwgSuELbc=";
    tag = "v${version}";
    hash = "sha256-yOLnfuGQW+j0nHy4MRlwurZMpeRHTGmQ9eLmihcAGoQ=";
  };

  nativeBuildInputs = [
  build-system = [
    cython
    samtools
    setuptools
  ];

  nativeBuildInputs = [
    samtools
  ];

  buildInputs = [
    bzip2
    curl
@@ -73,11 +77,15 @@ buildPythonPackage {
    "pysam.libchtslib"
    "pysam.libcutils"
    "pysam.libcvcf"
    "pysam.libcsamtools"
  ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Python module for reading, manipulating and writing genome data sets";
    downloadPage = "https://github.com/pysam-developers/pysam";
    changelog = "https://github.com/pysam-developers/pysam/releases/tag/${src.tag}";
    homepage = "https://pysam.readthedocs.io";
    maintainers = with lib.maintainers; [ unode ];
    license = lib.licenses.mit;