mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
openh246: init at 1.4.0
This commit is contained in:
parent
c35309ff0b
commit
444b8484d7
1 changed files with 22 additions and 0 deletions
22
pkgs/development/libraries/openh264/default.nix
Normal file
22
pkgs/development/libraries/openh264/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchurl, nasm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openh264-1.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/cisco/openh264/archive/v1.4.0.tar.gz";
|
||||
sha256 = "08haj0xkyjlwbpqdinxk0cmvqw89bx89ly0kqs9lf87fy6ksgfd1";
|
||||
};
|
||||
|
||||
buildInputs = [ nasm ];
|
||||
|
||||
installPhase = ''
|
||||
make PREFIX=$out install
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A codec library which supports H.264 encoding and decoding";
|
||||
homepage = http://www.openh264.org;
|
||||
license = stdenv.licenses.bsd2;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue