mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
9fc09fd4bb
svn path=/nixpkgs/trunk/; revision=13063
21 lines
586 B
Nix
21 lines
586 B
Nix
args:
|
|
args.stdenv.mkDerivation rec {
|
|
version = "snapshot-20080521-2245";
|
|
name = "x264-${version}";
|
|
|
|
src = args.fetchurl {
|
|
url = "ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-${version}.tar.bz2";
|
|
sha256 = "07khxih1lmhvrzlaksqmaghbi8w2yyjrjcw867gi2y4z1h0ndhks";
|
|
};
|
|
|
|
configureFlags= if args.stdenv.system == "x86_64-linux" then ["--enable-pic"] else [];
|
|
|
|
buildInputs =(with args; []);
|
|
|
|
meta = {
|
|
description = "library for encoding H264/AVC video streams";
|
|
homepage = http://www.videolan.org/developers/x264.html;
|
|
license = "GPL";
|
|
};
|
|
}
|