Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 34 lines 826 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "flexit-bacnet"; 10 version = "2.2.1"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "piotrbulinski"; 15 repo = "flexit_bacnet"; 16 rev = "refs/tags/${version}"; 17 hash = "sha256-Cy/WHKtJoZWSFOs+9rBYSLqZTF/68WRM1HiYXDyb9KM="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 pythonImportsCheck = [ "flexit_bacnet" ]; 23 24 # upstream has no tests 25 doCheck = false; 26 27 meta = { 28 changelog = "https://github.com/piotrbulinski/flexit_bacnet/releases/tag/${version}"; 29 description = "Client BACnet library for Flexit Nordic series of air handling units"; 30 homepage = "https://github.com/piotrbulinski/flexit_bacnet"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ dotlambda ]; 33 }; 34}