Unverified Commit 64a0a100 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.test2ref: 1.1.1 -> 1.2.3 (#513821)

parents 13b85d08 3e0ae023
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ buildPythonPackage (finalAttrs: {
  pname = "pyqtgraph";
  version = "0.14.0";
  pyproject = true;
  __structuredAttrs = true;

  src = fetchFromGitHub {
    owner = "pyqtgraph";
+21 −6
Original line number Diff line number Diff line
@@ -2,22 +2,29 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  pdm-backend,

  # dependencies
  binaryornot,

  # tests
  pytest-cov-stub,
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "test2ref";
  version = "1.1.1";
  version = "1.2.3";
  pyproject = true;
  __structuredAttrs = true;

  src = fetchFromGitHub {
    owner = "nbiotcloud";
    repo = "test2ref";
    tag = "v${version}";
    hash = "sha256-Lo0rXKpiXGZle6X2f2Zofc/ihzAqruDyKNP4wp2jqv4=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-20vE6o8yKphKxlfGo+lBZ1VlKyCVlNawlMYVcj4JAtY=";
  };

  build-system = [
@@ -35,11 +42,19 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  disabledTests = [
    # AssertionError:
    #   Only in /build/pytest-of-nixbld/pytest-0/test_known0/ref: file0.txt
    #   Only in /build/pytest-of-nixbld/pytest-0/test_known0/ref: sub0
    # Reported upstream: https://github.com/nbiotcloud/test2ref/issues/36
    "test_known"
  ];

  meta = {
    description = "Testing Against Learned Reference Data";
    homepage = "https://github.com/nbiotcloud/test2ref";
    changelog = "https://github.com/nbiotcloud/test2ref/releases/tag/${src.tag}";
    changelog = "https://github.com/nbiotcloud/test2ref/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}
})