Unverified Commit 0e548c07 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python312Packages.py2bit: 0.3.0 -> 0.3.3 (#371196)

parents ad4373ce 2d67d1e7
Loading
Loading
Loading
Loading
+20 −9
Original line number Diff line number Diff line
@@ -2,28 +2,39 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  pytest,
  pytestCheckHook,
  setuptools,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "py2bit";
  version = "0.3.0";
  format = "setuptools";

  checkInput = [ pytest ];
  version = "0.3.3";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    sha256 = "1vw2nvw1yrl7ikkqsqs1pg239yr5nspvd969r1x9arms1k25a1a5";
    hash = "sha256-Jk9b/DnXKfGsrVTHYKwE+oog1BhPS1BdnDM9LgMlN3A=";
  };

  meta = with lib; {
  build-system = [
    setuptools
    setuptools-scm
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pytestFlagsArray = [ "py2bitTest/test.py" ];

  meta = {
    homepage = "https://github.com/deeptools/py2bit";
    description = "File access to 2bit files";
    longDescription = ''
      A python extension, written in C, for quick access to 2bit files. The extension uses lib2bit for file access.
    '';
    license = licenses.mit;
    maintainers = with maintainers; [ scalavision ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ scalavision ];
  };
}