depot/third_party/nixpkgs/pkgs/development/python-modules/sisyphus-control/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

53 lines
1.1 KiB
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
netifaces,
python-engineio,
python-socketio,
pythonOlder,
pythonRelaxDepsHook,
}:
buildPythonPackage rec {
pname = "sisyphus-control";
version = "3.1.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jkeljo";
repo = "sisyphus-control";
rev = "refs/tags/v${version}";
hash = "sha256-FbZWvsm2NT9a7TgHKWh/LHPsse6NBLK2grlOtHDbV2Y=";
};
pythonRelaxDeps = [
"python-engineio"
"python-socketio"
];
nativeBuildInputs = [ pythonRelaxDepsHook ];
propagatedBuildInputs = [
aiohttp
netifaces
python-engineio
python-socketio
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "sisyphus_control" ];
meta = with lib; {
description = "Control your Sisyphus Kinetic Art Table";
homepage = "https://github.com/jkeljo/sisyphus-control";
changelog = "https://github.com/jkeljo/sisyphus-control/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}