mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
6420d9b698
Diff: https://github.com/xuanxuan000/python-linknlink/compare/refs/tags/0.2.3...0.2.4 Changelog: https://github.com/xuanxuan000/python-linknlink/releases/tag/0.2.4
41 lines
901 B
Nix
41 lines
901 B
Nix
{
|
|
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";
|
|
rev = "refs/tags/${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 ];
|
|
};
|
|
}
|