depot/third_party/nixpkgs/pkgs/development/python-modules/nad-receiver/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
704 B
Nix

{
lib,
pyserial,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "nad-receiver";
version = "0.3.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "joopert";
repo = "nad_receiver";
rev = version;
hash = "sha256-jRMk/yMA48ei+g/33+mMYwfwixaKTMYcU/z/VOoJbvY=";
};
propagatedBuildInputs = [ pyserial ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nad_receiver" ];
meta = with lib; {
description = "Python interface for NAD receivers";
homepage = "https://github.com/joopert/nad_receiver";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}