mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
* Added flvtool2.
svn path=/nixpkgs/trunk/; revision=29116
This commit is contained in:
parent
80ec5348e0
commit
958b146424
28
pkgs/tools/video/flvtool2/default.nix
Normal file
28
pkgs/tools/video/flvtool2/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, ruby }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "flvtool2-1.0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://rubyforge.org/frs/download.php/17497/${name}.tgz";
|
||||
sha256 = "1pbsf0fvqrs6xzfkqal020bplb68dfiz6c5sfcz36k255v7c5w9a";
|
||||
};
|
||||
|
||||
buildInputs = [ ruby ];
|
||||
|
||||
configurePhase =
|
||||
''
|
||||
substituteInPlace bin/flvtool2 --replace "/usr/bin/env ruby" "ruby -I$out/lib/ruby/site_ruby/1.8"
|
||||
ruby setup.rb config --prefix=$out --siterubyver=$out/lib/ruby/site_ruby/1.8
|
||||
'';
|
||||
|
||||
installPhase =
|
||||
''
|
||||
ruby setup.rb install
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.inlet-media.de/flvtool2/;
|
||||
description = "A tool to manipulate Macromedia Flash Video files";
|
||||
};
|
||||
}
|
@ -651,6 +651,8 @@ let
|
||||
|
||||
flvstreamer = callPackage ../tools/networking/flvstreamer { };
|
||||
|
||||
flvtool2 = callPackage ../tools/video/flvtool2 { };
|
||||
|
||||
fontforge = callPackage ../tools/misc/fontforge { };
|
||||
|
||||
fontforgeX = callPackage ../tools/misc/fontforge {
|
||||
|
Loading…
Reference in New Issue
Block a user