diff options
author | Philipp Middendorf <middendorf@plapadoo.de> | 2018-12-07 13:19:04 +0100 |
---|---|---|
committer | Philipp Middendorf <middendorf@plapadoo.de> | 2018-12-07 13:19:04 +0100 |
commit | bf050b13b0c10c9ffdb8d6c59edd973755c7c515 (patch) | |
tree | 71a0fd4312ec39095076906060a44c67bd878f20 /pkgs/development/libraries/libopusenc | |
parent | e1b7493cfedba7e715070faa64b77c39d0cf4bff (diff) |
libopusenc: init at 0.2.1
Diffstat (limited to 'pkgs/development/libraries/libopusenc')
-rw-r--r-- | pkgs/development/libraries/libopusenc/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libopusenc/default.nix b/pkgs/development/libraries/libopusenc/default.nix new file mode 100644 index 0000000000000..4ca0849447f38 --- /dev/null +++ b/pkgs/development/libraries/libopusenc/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, pkgconfig, libopus }: + +let + version = "0.2.1"; +in +stdenv.mkDerivation rec { + name = "libopusenc-${version}"; + + src = fetchurl { + url = "https://archive.mozilla.org/pub/opus/libopusenc-${version}.tar.gz"; + sha256 = "1ffb0vhlymlsq70pxsjj0ksz77yfm2x0a1x8q50kxmnkm1hxp642"; + }; + + outputs = [ "out" "dev" ]; + + doCheck = true; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ libopus ]; + + meta = with stdenv.lib; { + description = "Library for encoding .opus audio files and live streams"; + license = licenses.bsd3; + homepage = http://www.opus-codec.org/; + platforms = platforms.unix; + maintainers = with maintainers; [ pmiddend ]; + }; +} |