pythonPacakges.moviepy: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 18:00:18 -04:00 committed by Frederik Rietdijk
parent 82eaa20725
commit 67988e545c
2 changed files with 30 additions and 19 deletions

View File

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, numpy
, decorator
, imageio
, tqdm
}:
buildPythonPackage rec {
pname = "moviepy";
version = "0.2.2.11";
src = fetchPypi {
inherit pname version;
sha256 = "d937d817e534efc54eaee2fc4c0e70b48fcd81e1528cd6425f22178704681dc3";
};
# No tests
doCheck = false;
propagatedBuildInputs = [ numpy decorator imageio tqdm ];
meta = with stdenv.lib; {
description = "Video editing with Python";
homepage = http://zulko.github.io/moviepy/;
license = licenses.mit;
};
}

View File

@ -2775,25 +2775,7 @@ in {
};
};
moviepy = buildPythonPackage rec {
name = "moviepy-${version}";
version = "0.2.2.11";
src = pkgs.fetchurl {
url = "mirror://pypi/m/moviepy/${name}.tar.gz";
sha256 = "d937d817e534efc54eaee2fc4c0e70b48fcd81e1528cd6425f22178704681dc3";
};
# No tests
doCheck = false;
propagatedBuildInputs = with self; [ numpy decorator imageio tqdm ];
meta = {
description = "Video editing with Python";
homepage = http://zulko.github.io/moviepy/;
license = licenses.mit;
};
};
moviepy = callPackage ../development/python-modules/moviepy { };
mozterm = callPackage ../development/python-modules/mozterm { };