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.

42 lines
757 B
Nix
Raw Normal View History

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";
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";
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
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 ];
};
}