python3Packages.pyfakewebcam: init at 0.1.0

This commit is contained in:
Angus Trau 2021-07-26 18:51:53 +10:00
parent 2129356a64
commit 656524c416
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ 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;
};
}

View file

@ -5977,6 +5977,8 @@ in {
pyfakefs = callPackage ../development/python-modules/pyfakefs { };
pyfakewebcam = callPackage ../development/python-modules/pyfakewebcam { };
pyfantom = callPackage ../development/python-modules/pyfantom { };
pyfcm = callPackage ../development/python-modules/pyfcm { };