nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 41 lines 858 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pyzipper, 7 setuptools, 8 striprtf, 9}: 10 11buildPythonPackage rec { 12 pname = "xknxproject"; 13 version = "3.8.2"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "XKNX"; 18 repo = "xknxproject"; 19 tag = version; 20 hash = "sha256-EIonCsolfAAFQpHuSFUuYAAZozjtqSwJCpw86Cc2d4I="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 pyzipper 27 striprtf 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "xknxproject" ]; 33 34 meta = { 35 description = "Library to extract KNX projects and parses the underlying XML"; 36 homepage = "https://github.com/XKNX/xknxproject"; 37 changelog = "https://github.com/XKNX/xknxproject/releases/tag/${version}"; 38 license = lib.licenses.gpl2Only; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41}