Merge pull request #204584 from tjni/rav1e

rav1e: 0.5.1 -> 0.6.1
This commit is contained in:
Robert Scott
2022-12-05 22:12:18 +00:00
committed by GitHub
2 changed files with 21 additions and 6 deletions
+18 -5
View File
@@ -1,20 +1,33 @@
{ lib, rust, stdenv, rustPlatform, fetchCrate, nasm, cargo-c, libiconv }:
{ lib
, rust
, stdenv
, rustPlatform
, fetchCrate
, nasm
, cargo-c
, libiconv
, Security
}:
let
rustTargetPlatformSpec = rust.toRustTargetSpec stdenv.hostPlatform;
in rustPlatform.buildRustPackage rec {
pname = "rav1e";
version = "0.5.1";
version = "0.6.1";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-v2i/dMWos+nB3cRDOkROSOPb1ONRosbmp9RDZI2DLeI=";
sha256 = "sha256-70O9/QRADaEYVvZjEfuBOxPF8lCZ138L2fbFWpj3VUw=";
};
cargoSha256 = "sha256-V9QbztkFj3t5yBV+yySysDy3Q6IUY4gNzBL8h23aEg4=";
cargoHash = "sha256-iHOmItooNsGq6iTIb9M5IPXMwYh2nQ03qfjomkgCdgw=";
nativeBuildInputs = [ nasm cargo-c ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
Security
];
checkType = "debug";
+3 -1
View File
@@ -5359,7 +5359,9 @@ with pkgs;
rainloop-community
rainloop-standard;
rav1e = callPackage ../tools/video/rav1e { };
rav1e = callPackage ../tools/video/rav1e {
inherit (darwin.apple_sdk.frameworks) Security;
};
raven-reader = callPackage ../applications/networking/newsreaders/raven-reader { };