02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
26 lines
705 B
Nix
26 lines
705 B
Nix
{ lib, buildPythonPackage, fetchPypi, numpy, opencv4 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyfakewebcam";
|
|
version = "0.1.0";
|
|
format = "setuptools";
|
|
|
|
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; [ emilytrau ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|