Files
nixpkgs/pkgs/development/python-modules/linknlink/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
886 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "linknlink";
version = "0.2.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "xuanxuan000";
repo = "python-linknlink";
tag = version;
hash = "sha256-ObPEcdDHi+SPFjuVKBtu7/5/IgHcam+IWblxxS3+mmI=";
};
build-system = [ setuptools ];
dependencies = [ 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 = "https://github.com/xuanxuan000/python-linknlink/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}