diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-11-17 20:09:59 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-11-17 20:09:59 +0100 |
commit | 88e121dae86361d8d70c6cb8265744f29c9e5d0a (patch) | |
tree | a2577799bf8843c0042215af6bd64402c2357b0f | |
parent | 301a784da0f4c06b60d9319cd7c3ada608d17149 (diff) | |
download | nixpkgs-88e121dae86361d8d70c6cb8265744f29c9e5d0a.tar nixpkgs-88e121dae86361d8d70c6cb8265744f29c9e5d0a.tar.gz nixpkgs-88e121dae86361d8d70c6cb8265744f29c9e5d0a.tar.bz2 nixpkgs-88e121dae86361d8d70c6cb8265744f29c9e5d0a.tar.lz nixpkgs-88e121dae86361d8d70c6cb8265744f29c9e5d0a.tar.xz nixpkgs-88e121dae86361d8d70c6cb8265744f29c9e5d0a.tar.zst nixpkgs-88e121dae86361d8d70c6cb8265744f29c9e5d0a.zip |
python311Packages.linknlink: init at 0.1.1
Module and CLI for controlling Linklink devices locally https://github.com/xuanxuan000/python-linknlink
-rw-r--r-- | pkgs/development/python-modules/linknlink/default.nix | 45 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/linknlink/default.nix b/pkgs/development/python-modules/linknlink/default.nix new file mode 100644 index 00000000000..59c02c46609 --- /dev/null +++ b/pkgs/development/python-modules/linknlink/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, cryptography +, fetchFromGitHub +, pythonOlder +, setuptools +}: + +buildPythonPackage rec { + pname = "linknlink"; + version = "0.1.1"; + pyproject = true; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "xuanxuan000"; + repo = "python-linknlink"; + rev = "refs/tags/${version}"; + hash = "sha256-pr0FwNweg7hFcvaOHQyXjIzH1L6Q4q/1llwfdl9k0Sk="; + }; + + nativeBuildInputs = [ + setuptools + ]; + + propagatedBuildInputs = [ + cryptography + ]; + + pythonImportsCheck = [ + "linknlink" + ]; + + # Module has no test + doCheck = false; + + meta = with lib; { + description = "Module and CLI for controlling Linklink devices locally"; + homepage = "https://github.com/xuanxuan000/python-linknlink"; + changelog = ""; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c76f4ea814d..bc6d87ef30b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6330,6 +6330,8 @@ self: super: with self; { linkify-it-py = callPackage ../development/python-modules/linkify-it-py { }; + linknlink = callPackage ../development/python-modules/linknlink { }; + linode-api = callPackage ../development/python-modules/linode-api { }; linode = callPackage ../development/python-modules/linode { }; |