depot/third_party/nixpkgs/pkgs/development/python-modules/nad-receiver/default.nix
Default email 1a0302a145 Project import generated by Copybara.
GitOrigin-RevId: 311ceed827f531f88f46222920cd1ebb2c101f73
2021-04-12 20:23:04 +02:00

35 lines
681 B
Nix

{ lib
, pyserial
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "nad-receiver";
version = "0.2.0";
src = fetchFromGitHub {
owner = "joopert";
repo = "nad_receiver";
rev = version;
sha256 = "1mylrrvxczhplscayf4hvj56vaqkh7mv32fn9pcvla83y39kg8rw";
};
propagatedBuildInputs = [
pyserial
];
checkInputs = [
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 ];
};
}