mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
python311Packages.linknlink: init at 0.1.1
Module and CLI for controlling Linklink devices locally https://github.com/xuanxuan000/python-linknlink
This commit is contained in:
parent
301a784da0
commit
88e121dae8
45
pkgs/development/python-modules/linknlink/default.nix
Normal file
45
pkgs/development/python-modules/linknlink/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -6330,6 +6330,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
linkify-it-py = callPackage ../development/python-modules/linkify-it-py { };
|
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-api = callPackage ../development/python-modules/linode-api { };
|
||||||
|
|
||||||
linode = callPackage ../development/python-modules/linode { };
|
linode = callPackage ../development/python-modules/linode { };
|
||||||
|
Loading…
Reference in New Issue
Block a user