nixpkgs/pkgs/development/python-modules/vidstab/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
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
2023-12-07 17:46:49 +01:00

34 lines
688 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, imutils
, progress
, matplotlib
}:
buildPythonPackage rec {
version = "1.7.4";
format = "setuptools";
pname = "vidstab";
src = fetchPypi {
inherit pname version;
sha256 = "865c4a097e2a8527aa8bfc96ab0bcc0d280a88cc93eabcc36531268f5d343ce1";
};
propagatedBuildInputs = [ numpy pandas imutils progress matplotlib ];
# tests not packaged with pypi
doCheck = false;
pythonImportsCheck = [ "vidstab" ];
meta = with lib; {
homepage = "https://github.com/AdamSpannbauer/python_video_stab";
description = "Video Stabilization using OpenCV";
license = licenses.mit;
maintainers = [ ];
};
}