2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
betamax,
|
2024-09-19 14:19:46 +00:00
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2024-06-05 15:53:02 +00:00
|
|
|
requests-toolbelt,
|
2024-09-19 14:19:46 +00:00
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "betamax-matchers";
|
|
|
|
version = "0.4.0";
|
2024-09-19 14:19:46 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "betamaxpy";
|
|
|
|
repo = "betamax_matchers";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-BV9DOfZLDAZIr2E75l988QxFWWvazBL9VttxGFIez1M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
2024-06-05 15:53:02 +00:00
|
|
|
betamax
|
|
|
|
requests-toolbelt
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "betamax_matchers" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-09-19 14:19:46 +00:00
|
|
|
description = "A group of experimental matchers for Betamax";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/sigmavirus24/betamax_matchers";
|
2024-09-19 14:19:46 +00:00
|
|
|
changelog = "https://github.com/betamaxpy/betamax_matchers/blob/${version}/HISTORY.rst";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|