Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / nad-receiver / default.nix
blobed836bded204812150203645ad2fc61726acc183
1 { lib
2 , pyserial
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "nad-receiver";
10   version = "0.3.0";
12   src = fetchFromGitHub {
13     owner = "joopert";
14     repo = "nad_receiver";
15     rev = version;
16     hash = "sha256-jRMk/yMA48ei+g/33+mMYwfwixaKTMYcU/z/VOoJbvY=";
17   };
19   propagatedBuildInputs = [
20     pyserial
21   ];
23   nativeCheckInputs = [
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   };