16 buildPythonPackage rec {
21 disabled = pythonOlder "3.9";
23 src = fetchFromGitHub {
24 owner = "klaasnicolaas";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-BorgGHxoEeIGyJKqe9mFRDpcGHhi6/8IV7ubEI8yQE4=";
31 # https://github.com/klaasnicolaas/python-cemm/pull/360
33 name = "remove-setuptools-dependency.patch";
34 url = "https://github.com/klaasnicolaas/python-cemm/commit/1e373dac078f18563264e6733baf6a93962cac4b.patch";
35 hash = "sha256-DVNn4BZwi8yNpKFmzt7YSYhzzB4vaAyrd/My8TtYzj0=";
40 substituteInPlace pyproject.toml \
41 --replace-fail '"0.0.0"' '"${version}"'
44 build-system = [ poetry-core ];
51 __darwinAllowLocalNetworking = true;
60 pythonImportsCheck = [ "cemm" ];
63 description = "Module for interacting with CEMM devices";
64 homepage = "https://github.com/klaasnicolaas/python-cemm";
65 changelog = "https://github.com/klaasnicolaas/python-cemm/releases/tag/v${version}";
66 license = with licenses; [ mit ];
67 maintainers = with maintainers; [ fab ];