1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "stupidartnet"; 12 version = "1.6.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.10"; 16 17 src = fetchFromGitHub { 18 owner = "cpvalente"; 19 repo = "stupidArtnet"; 20 tag = version; 21 hash = "sha256-prLIQn1vFp0Q8FR2WBaU1tr6eKJpEY1ul4ldd4c35ls="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "stupidArtnet" ]; 29 30 meta = with lib; { 31 description = "Library implementation of the Art-Net protocol"; 32 homepage = "https://github.com/cpvalente/stupidArtnet"; 33 changelog = "https://github.com/cpvalente/stupidArtnet/releases/tag/${version}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}