python.pkgs.av: move expression
This commit is contained in:
parent
a5e1da3df1
commit
c6eaf088a9
32
pkgs/development/python-modules/av/default.nix
Normal file
32
pkgs/development/python-modules/av/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, pillow
|
||||
, numpy
|
||||
, ffmpeg_2
|
||||
, git
|
||||
, libav
|
||||
, pkgconfig
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "av";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bdc7e2e213cb9041d9c5c0497e6f8c47e84f89f1f2673a46d891cca0fb0d19a0";
|
||||
};
|
||||
|
||||
buildInputs = [ nose pillow numpy ffmpeg_2 git libav pkgconfig ];
|
||||
|
||||
# Because of https://github.com/mikeboers/PyAV/issues/152
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Pythonic bindings for FFmpeg/Libav";
|
||||
homepage = https://github.com/mikeboers/PyAV/;
|
||||
license = lib.licenses.bsd2;
|
||||
};
|
||||
}
|
@ -638,27 +638,8 @@ in {
|
||||
|
||||
autopep8 = callPackage ../development/python-modules/autopep8 { };
|
||||
|
||||
av = buildPythonPackage rec {
|
||||
name = "av-${version}";
|
||||
version = "0.2.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/a/av/${name}.tar.gz";
|
||||
sha256 = "bdc7e2e213cb9041d9c5c0497e6f8c47e84f89f1f2673a46d891cca0fb0d19a0";
|
||||
};
|
||||
|
||||
buildInputs
|
||||
= (with self; [ nose pillow numpy ])
|
||||
++ (with pkgs; [ ffmpeg_2 git libav pkgconfig ]);
|
||||
|
||||
# Because of https://github.com/mikeboers/PyAV/issues/152
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Pythonic bindings for FFmpeg/Libav";
|
||||
homepage = https://github.com/mikeboers/PyAV/;
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
av = callPackage ../development/python-modules/av {
|
||||
inherit (pkgs) ffmpeg_2 git libav pkgconfig;
|
||||
};
|
||||
|
||||
avro = callPackage ../development/python-modules/avro {};
|
||||
|
Loading…
Reference in New Issue
Block a user