mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
54 lines
925 B
Nix
54 lines
925 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
flask,
|
|
mock,
|
|
prettytable,
|
|
pyserial,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
requests,
|
|
stevedore,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "pynx584";
|
|
version = "0.8.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kk7ds";
|
|
repo = "pynx584";
|
|
rev = "refs/tags/0.8.2";
|
|
hash = "sha256-q5ra7tH4kaBrw0VAiyMsmWOkVhA7Y6bRuFP8dlxQjsE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
flask
|
|
prettytable
|
|
pyserial
|
|
requests
|
|
stevedore
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "nx584" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python package for communicating to NX584/NX8E interfaces";
|
|
homepage = "https://github.com/kk7ds/pynx584";
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|