Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / linknlink / default.nix
blob59c02c46609359b1d39bf8dbb328a402eaadb076
1 { lib
2 , buildPythonPackage
3 , cryptography
4 , fetchFromGitHub
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "linknlink";
11   version = "0.1.1";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "xuanxuan000";
18     repo = "python-linknlink";
19     rev = "refs/tags/${version}";
20     hash = "sha256-pr0FwNweg7hFcvaOHQyXjIzH1L6Q4q/1llwfdl9k0Sk=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     cryptography
29   ];
31   pythonImportsCheck = [
32     "linknlink"
33   ];
35   # Module has no test
36   doCheck = false;
38   meta = with lib; {
39     description = "Module and CLI for controlling Linklink devices locally";
40     homepage = "https://github.com/xuanxuan000/python-linknlink";
41     changelog = "";
42     license = licenses.mit;
43     maintainers = with maintainers; [ fab ];
44   };