depot/third_party/nixpkgs/pkgs/development/python-modules/pyfakewebcam/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

25 lines
680 B
Nix

{ lib, buildPythonPackage, fetchPypi, numpy, opencv4 }:
buildPythonPackage rec {
pname = "pyfakewebcam";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "152nglscxmv7600i1i2gahny5z0bybnqgq3npak8npb0lsnwxn1a";
};
propagatedBuildInputs = [ numpy opencv4 ];
# No tests are available
doCheck = false;
pythonImportsCheck = [ "pyfakewebcam" ];
meta = with lib; {
description = "A library for writing RGB frames to a fake webcam device on Linux";
homepage = "https://github.com/jremmons/pyfakewebcam";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ angustrau ];
platforms = platforms.linux;
};
}