python3.pkgs.get_video_properties: init at 0.1.1
This commit is contained in:
parent
09031aa626
commit
0b1ad2ed6f
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, ffmpeg
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "get-video-properties";
|
||||||
|
version = "0.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mvasilkov";
|
||||||
|
repo = "python-get-video-properties";
|
||||||
|
rev = "944c68addbc27e320ebc6313d3f016fb69b5e880";
|
||||||
|
sha256 = "18aslx7amaiw31bl9gambmvzry7hp5nqab6kgp8sg3mz9ih4lzal";
|
||||||
|
};
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace videoprops/__init__.py \
|
||||||
|
--replace "which('ffprobe')" "'${ffmpeg}/bin/ffprobe'"
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "videoprops" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Get video properties";
|
||||||
|
homepage = "https://github.com/mvasilkov/python-get-video-properties";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ globin ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -2675,6 +2675,8 @@ in {
|
||||||
|
|
||||||
getkey = callPackage ../development/python-modules/getkey { };
|
getkey = callPackage ../development/python-modules/getkey { };
|
||||||
|
|
||||||
|
get-video-properties = callPackage ../development/python-modules/get-video-properties { };
|
||||||
|
|
||||||
gevent = callPackage ../development/python-modules/gevent { };
|
gevent = callPackage ../development/python-modules/gevent { };
|
||||||
|
|
||||||
geventhttpclient = callPackage ../development/python-modules/geventhttpclient { };
|
geventhttpclient = callPackage ../development/python-modules/geventhttpclient { };
|
||||||
|
|
Loading…
Reference in a new issue