gstreamer rewrite

This commit is contained in:
2020-02-22 17:15:13 +01:00
parent 1a542adc73
commit 8f1196aefe
3 changed files with 176 additions and 266 deletions

View File

@@ -1,15 +1,17 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "audio_conv";
buildInputs = [
stdenv
pkg-config
ffmpeg_4
clang
cargo
rustc
rls
];
LIBCLANG_PATH="${llvmPackages.libclang}/lib";
}
let
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
rustpkgs = nixpkgs.rustChannels.stable;
in
with nixpkgs;
stdenv.mkDerivation {
name = "audio-conv";
buildInputs = [
rustpkgs.rust
rustpkgs.cargo
rustpkgs.rls-preview
rustpkgs.rustfmt-preview
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
];
}