2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-03-09 03:18:52 +00:00
|
|
|
, setuptools-scm
|
2021-02-05 17:12:51 +00:00
|
|
|
, alarmdecoder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "adext";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "0.4.1";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "1yz1rpfvhbf7kfjck5vadbj9rd3bkx5248whaa3impdrjh7vs03x";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
alarmdecoder
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
# Tests are not published yet
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "adext" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python extension for AlarmDecoder";
|
|
|
|
homepage = "https://github.com/ajschmidt8/adext";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|