nixpkgs/pkgs/development/python-modules/adext/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
875 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
alarmdecoder,
pytestCheckHook,
pythonOlder,
2021-01-17 20:06:30 +00:00
}:
buildPythonPackage rec {
pname = "adext";
version = "0.4.3";
2024-05-12 07:35:55 +00:00
pyproject = true;
2021-01-17 20:06:30 +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";
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
};
build-system = [ setuptools-scm ];
2021-01-17 20:06:30 +00:00
dependencies = [ alarmdecoder ];
2021-01-17 20:06:30 +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";
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 ];
};
}