Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.turrishw: init at 1.0.0

Python library and program for Turris hardware listing

https://github.com/turris-cz/turrishw

+39
+37
pkgs/development/python-modules/turrishw/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + hatchling, 6 + pytestCheckHook, 7 + pythonOlder, 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "turrishw"; 12 + version = "1.0.0"; 13 + pyproject = true; 14 + 15 + disabled = pythonOlder "3.10"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "turris-cz"; 19 + repo = "turrishw"; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-elu2f54asdzdn7wQT2CKo8kVYnc1KTakRyr8Nxu+XNw="; 22 + }; 23 + 24 + build-system = [ hatchling ]; 25 + 26 + nativeCheckInputs = [ pytestCheckHook ]; 27 + 28 + pythonImportsCheck = [ "turrishw" ]; 29 + 30 + meta = { 31 + description = "Python library and program for Turris hardware listing"; 32 + homepage = "https://github.com/turris-cz/turrishw"; 33 + changelog = "https://github.com/turris-cz/turrishw/blob/${src.rev}/CHANGELOG.md"; 34 + license = lib.licenses.mit; 35 + maintainers = with lib.maintainers; [ fab ]; 36 + }; 37 + }
+2
pkgs/top-level/python-packages.nix
··· 16278 16278 16279 16279 turnt = callPackage ../development/python-modules/turnt { }; 16280 16280 16281 + turrishw = callPackage ../development/python-modules/turrishw { }; 16282 + 16281 16283 tuya-device-sharing-sdk = callPackage ../development/python-modules/tuya-device-sharing-sdk { }; 16282 16284 16283 16285 tuya-iot-py-sdk = callPackage ../development/python-modules/tuya-iot-py-sdk { };