Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / nad-receiver / default.nix
blobee7ac9648e1874b9ca8379f41fee4a3e00d3bad7
1 { lib
2 , pyserial
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "nad-receiver";
10   version = "0.2.0";
12   src = fetchFromGitHub {
13     owner = "joopert";
14     repo = "nad_receiver";
15     rev = version;
16     sha256 = "1mylrrvxczhplscayf4hvj56vaqkh7mv32fn9pcvla83y39kg8rw";
17   };
19   propagatedBuildInputs = [
20     pyserial
21   ];
23   checkInputs = [
24     pytestCheckHook
25   ];
27   pythonImportsCheck = [ "nad_receiver" ];
29   meta = with lib; {
30     description = "Python interface for NAD receivers";
31     homepage = "https://github.com/joopert/nad_receiver";
32     license = with licenses; [ mit ];
33     maintainers = with maintainers; [ fab ];
34   };