python3Packages.test2ref: 1.1.1 -> 1.2.3 (#513821)
This commit is contained in:
@@ -30,6 +30,7 @@ buildPythonPackage (finalAttrs: {
|
||||
pname = "pyqtgraph";
|
||||
version = "0.14.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyqtgraph";
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user