diff options
author | Thomas Strobel <ts468@cam.ac.uk> | 2015-08-26 17:42:13 +0200 |
---|---|---|
committer | Thomas Strobel <ts468@cam.ac.uk> | 2015-08-26 17:42:13 +0200 |
commit | 444b8484d71d03b3a27b62ad75b073746864ef5b (patch) | |
tree | 5249b702074f43155f48359a972eb3373be02f46 | |
parent | c35309ff0b963959276d6db45c9cf11a5024f557 (diff) |
openh246: init at 1.4.0
-rw-r--r-- | pkgs/development/libraries/openh264/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openh264/default.nix b/pkgs/development/libraries/openh264/default.nix new file mode 100644 index 0000000000000..ff6582ca7a7cc --- /dev/null +++ b/pkgs/development/libraries/openh264/default.nix @@ -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; + }; +} |