Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pyfakewebcam / default.nix
blobc130accd40c014a75bd186a481da60686c0f8336
1 { lib, buildPythonPackage, fetchPypi, numpy, opencv4 }:
3 buildPythonPackage rec {
4   pname = "pyfakewebcam";
5   version = "0.1.0";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "152nglscxmv7600i1i2gahny5z0bybnqgq3npak8npb0lsnwxn1a";
10   };
12   propagatedBuildInputs = [ numpy opencv4 ];
14   # No tests are available
15   doCheck = false;
16   pythonImportsCheck = [ "pyfakewebcam" ];
18   meta = with lib; {
19     description = "A library for writing RGB frames to a fake webcam device on Linux";
20     homepage = "https://github.com/jremmons/pyfakewebcam";
21     license = licenses.lgpl3Only;
22     maintainers = with maintainers; [ emilytrau ];
23     platforms = platforms.linux;
24   };