tplay: 0.6.0 -> 0.6.3 (#420683)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
clang,
|
||||
ffmpeg,
|
||||
ffmpeg-headless,
|
||||
openssl,
|
||||
alsa-lib,
|
||||
opencv,
|
||||
@@ -12,17 +12,17 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tplay";
|
||||
version = "0.6.0";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxcurzi";
|
||||
repo = "tplay";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-SRn7kg5FdSimKMFowKNUIan+MrojtNO0apeehIRTzfw=";
|
||||
hash = "sha256-JVkezG2bs99IFOTONeZZRljjbi0EhFf+DMxcfiWI4p4=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-SzOx9IPp+TjiJpAEX8+GhZ+UEEmqNpI67S40OiYrHfM=";
|
||||
cargoHash = "sha256-LHRTmjAwDPMOP6YQfL01leEzqRKtteU1cnUqL6UeWKk=";
|
||||
checkFlags = [
|
||||
# requires network access
|
||||
"--skip=pipeline::image_pipeline::tests::test_process"
|
||||
@@ -35,20 +35,19 @@ rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.bindgenHook
|
||||
pkg-config
|
||||
clang
|
||||
ffmpeg
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl.dev
|
||||
alsa-lib.dev
|
||||
ffmpeg.dev
|
||||
ffmpeg-headless.dev
|
||||
opencv
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/tplay \
|
||||
--prefix PATH : "${lib.makeBinPath [ ffmpeg ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ ffmpeg-headless ]}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user