3cc8edd2cc
Diff: https://github.com/jaraco/jaraco.test/compare/v5.5.1...v5.6.0 Changelog: https://github.com/jaraco/jaraco.test/blob/v5.6.0/NEWS.rst
49 lines
1.0 KiB
Nix
49 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools-scm,
|
|
jaraco-functools,
|
|
jaraco-context,
|
|
jaraco-collections,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco-test";
|
|
version = "5.6.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jaraco";
|
|
repo = "jaraco.test";
|
|
tag = "v${version}";
|
|
hash = "sha256-Ym0r92xCh+DNpFexqPlRVgcDGYNvnaJHEs5/RMaUr+s=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace pyproject.toml \
|
|
--replace-fail '"coherent.licensed",' ""
|
|
'';
|
|
|
|
build-system = [ setuptools-scm ];
|
|
|
|
dependencies = [
|
|
jaraco-functools
|
|
jaraco-context
|
|
jaraco-collections
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "jaraco.test" ];
|
|
|
|
meta = {
|
|
description = "Testing support by jaraco";
|
|
homepage = "https://github.com/jaraco/jaraco.test";
|
|
changelog = "https://github.com/jaraco/jaraco.test/blob/${src.tag}/NEWS.rst";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|