12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
20 owner = "fwestenberg";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-DZcTfmzO9rBhhRN2RkgoPwUPE+LPPeZgc8kmhYU9V2I=";
26 propagatedBuildInputs = [
38 # Packages in nixpkgs is different than the module name
39 substituteInPlace setup.py \
40 --replace "ffmpeg" "ffmpeg-python"
43 # https://github.com/fwestenberg/reolink/issues/83
51 # Tests require network access
59 pythonImportsCheck = [
64 description = "Module to interact with the Reolink IP camera API";
65 homepage = "https://github.com/fwestenberg/reolink";
66 changelog = "https://github.com/fwestenberg/reolink/releases/tag/v${version}";
67 license = with licenses; [ mit ];
68 maintainers = with maintainers; [ fab ];