2018-10-16 23:00:18 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-04-19 16:10:20 +01:00
|
|
|
, pythonAtLeast
|
2018-10-16 23:00:18 +01:00
|
|
|
, numpy
|
|
|
|
, decorator
|
|
|
|
, imageio
|
2019-04-19 02:31:56 +01:00
|
|
|
, imageio-ffmpeg
|
2018-11-04 17:32:33 +00:00
|
|
|
, isPy3k
|
2019-04-19 02:31:56 +01:00
|
|
|
, proglog
|
|
|
|
, requests
|
2018-10-16 23:00:18 +01:00
|
|
|
, tqdm
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "moviepy";
|
2019-02-14 07:37:21 +00:00
|
|
|
version = "1.0.0";
|
2018-10-16 23:00:18 +01:00
|
|
|
|
2019-04-19 16:10:20 +01:00
|
|
|
disabled = !(pythonAtLeast "3.4");
|
|
|
|
|
2018-10-16 23:00:18 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:21 +00:00
|
|
|
sha256 = "16c7ffca23d90c76dd7b163f648c8166dfd589b7c180b8ff75aa327ae0a2fc6d";
|
2018-10-16 23:00:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
2019-04-19 02:31:56 +01:00
|
|
|
propagatedBuildInputs = [ numpy decorator imageio imageio-ffmpeg tqdm requests proglog ];
|
2018-10-16 23:00:18 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Video editing with Python";
|
|
|
|
homepage = http://zulko.github.io/moviepy/;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|