16 buildPythonPackage rec {
19 format = "setuptools";
21 src = fetchFromGitHub {
25 sha256 = "2Yh5MeIv+BIxjoO9GOPqq7xTAFhyBvnxPy7DeO2FrkI=";
29 (fetchpatch { # https://github.com/hardwario/bch-gateway/pull/19
30 name = "bcg-fix-import-with-Python-3.12.patch";
31 url = "https://github.com/hardwario/bch-gateway/pull/19/commits/1314c892992d8914802b6c42602c39f6a1418fca.patch";
32 hash = "sha256-dNiBppXjPSMUe2yiiSc9gGbAc8l4mI41wWq+g7PkD/Y=";
36 sed -ri 's/@@VERSION@@/${version}/g' \
37 bcg/__init__.py setup.py
40 propagatedBuildInputs = [
52 pythonImportsCheck = [ "bcg" ];
55 homepage = "https://github.com/hardwario/bch-gateway";
56 description = "HARDWARIO Gateway (Python Application «bcg»)";
58 platforms = platforms.linux;
59 license = licenses.mit;
60 maintainers = with maintainers; [ cynerd ];