2024-05-12 07:36:11 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools-scm,
|
|
|
|
alarmdecoder,
|
|
|
|
pytestCheckHook,
|
2024-05-12 07:37:42 +00:00
|
|
|
pythonOlder,
|
2021-01-17 20:06:30 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "adext";
|
2024-05-11 22:34:22 +00:00
|
|
|
version = "0.4.3";
|
2024-05-12 07:35:55 +00:00
|
|
|
pyproject = true;
|
2021-01-17 20:06:30 +00:00
|
|
|
|
2024-05-12 07:37:42 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2021-06-01 07:46:46 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ajschmidt8";
|
2024-05-12 07:35:55 +00:00
|
|
|
repo = "adext";
|
2024-05-11 22:34:22 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-05-12 07:35:55 +00:00
|
|
|
hash = "sha256-y8BvcSc3vD0FEWiyzW2Oh6PBS2Itjs2sz+9Dzh5yqSg=";
|
2021-01-17 20:06:30 +00:00
|
|
|
};
|
|
|
|
|
2024-05-12 07:36:11 +00:00
|
|
|
build-system = [ setuptools-scm ];
|
2021-01-17 20:06:30 +00:00
|
|
|
|
2024-05-12 07:36:11 +00:00
|
|
|
dependencies = [ alarmdecoder ];
|
2021-01-17 20:06:30 +00:00
|
|
|
|
2024-05-12 07:36:11 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-06-01 07:46:46 +00:00
|
|
|
|
2021-01-17 20:06:30 +00:00
|
|
|
pythonImportsCheck = [ "adext" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python extension for AlarmDecoder";
|
|
|
|
homepage = "https://github.com/ajschmidt8/adext";
|
2024-05-12 07:37:42 +00:00
|
|
|
changelog = "https://github.com/ajschmidt8/adext/releases/tag/v${version}";
|
2021-01-17 20:06:30 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|