2018-10-10 05:58:59 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, imutils
|
|
|
|
, progress
|
|
|
|
, matplotlib
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-09 11:02:03 +01:00
|
|
|
version = "1.7.3";
|
2018-10-10 05:58:59 +01:00
|
|
|
pname = "vidstab";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:02:03 +01:00
|
|
|
sha256 = "649a77a0c1b670d13a1bf411451945d7da439364dc0c33ee3636a23f1d82b456";
|
2018-10-10 05:58:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ numpy pandas imutils progress matplotlib ];
|
|
|
|
|
|
|
|
# tests not packaged with pypi
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/AdamSpannbauer/python_video_stab";
|
2018-10-10 05:58:59 +01:00
|
|
|
description = "Video Stabilization using OpenCV";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|