2021-01-17 20:06:30 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2021-06-01 07:46:46 +00:00
|
|
|
, fetchFromGitHub
|
2021-03-03 22:57:34 +00:00
|
|
|
, setuptools-scm
|
2021-01-17 20:06:30 +00:00
|
|
|
, alarmdecoder
|
2021-06-01 07:46:46 +00:00
|
|
|
, pytestCheckHook
|
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
|
|
|
|
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:35:55 +00:00
|
|
|
build-system = [
|
2021-03-03 22:57:34 +00:00
|
|
|
setuptools-scm
|
|
|
|
];
|
2021-01-17 20:06:30 +00:00
|
|
|
|
2024-05-12 07:35:55 +00:00
|
|
|
dependencies = [
|
2021-03-03 22:57:34 +00:00
|
|
|
alarmdecoder
|
|
|
|
];
|
2021-01-17 20:06:30 +00:00
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2021-06-01 07:46:46 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2021-01-17 20:06:30 +00:00
|
|
|
pythonImportsCheck = [ "adext" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python extension for AlarmDecoder";
|
|
|
|
homepage = "https://github.com/ajschmidt8/adext";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|