at master 736 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyserial, 6 pyyaml, 7 setuptools, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "scsgate"; 13 version = "0.1.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "flavio"; 18 repo = "scsgate"; 19 tag = version; 20 hash = "sha256-wVzXKOKljENAKppod+guqm+0XMPenLgOsZzMQVTBo+k="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 pyserial 27 pyyaml 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "scsgate" ]; 33 34 meta = { 35 description = "Python module to interact with SCSGate"; 36 homepage = "https://github.com/flavio/scsgate"; 37 license = lib.licenses.mit; 38 maintainers = [ lib.maintainers.jamiemagee ]; 39 }; 40}